Skip to content

SDK Packages

Install the packages your DApp needs to connect to D9 Wallet and interact with the chain.

Package Purpose Version
@d9-network/dapp-connector Connect to D9 Wallet, read accounts, and request signatures 0.2.0
effect Runtime required by the wallet connector 4.0.5
polkadot-api Query chain state and build typed transactions 3.3.0
Terminal window
npm install --save-exact @d9-network/dapp-connector@0.2.0 effect@4.0.5

Use --save-exact to pin the tested versions.

If your DApp reads on-chain state or submits transactions, install polkadot-api@3.3.0 and generate the d9 descriptors by following Generate PAPI 3 descriptors.

Run npm ls @d9-network/dapp-connector and confirm it reports 0.2.0.