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.
load*Deployments(networkId) returns the deployment record for a network, with contracts.<Name>.contractInstance holding contractId, address, and groupIndex.
const d = loadClmmDeployments('mainnet')d.contracts.PoolFactory.contractInstance.contractId
Contracts included in 1.0.2 (same set on mainnet, testnet, and devnet):
Package
Deployed contracts
CPMM
Router, TokenPair (template), TokenPairFactory
CLMM
PoolFactory, PositionManager, DexAccountRoot, plus templates Pool, PoolConfig, Position, Tick, BitmapWord, DexAccount
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.