Skip to main content
The SDK bundles the generated @alephium/web3 bindings for all Powfi contracts. Use them when a module doesn’t wrap the method you need.

Namespaces

Generated bindings use the global @alephium/web3 node provider. Powfi.load registers it for you. If you run several SDK instances, call powfi.setCurrentProviders() on the one you want the bindings to use.

Example: read a contract directly

Deployments

load*Deployments(networkId) returns the deployment record for a network, with contracts.<Name>.contractInstance holding contractId, address, and groupIndex.
Contracts included in 1.0.2 (same set on mainnet, testnet, and devnet):

Addresses

The entry-point contracts in the deployments bundled with 1.0.2. Templates are omitted: pools, positions and vaults are created from them at their own addresses. Devnet addresses depend on your local deployment.