Other web frameworks
Last updated
Last updated
You can import Pools SDK into your web dapp to enable your users to easily connect to the Pools Wallet. The SDK for other web frameworks has the same prerequisites as for standard JavaScript.
In your project directory, install the SDK using Yarn or npm:
or
In your project script, add the following to import the SDK:
Instantiate the SDK using any options:
Use the SDK by calling any provider API methods. Always call eth_requestAccounts
using ethereum.request()
first, since it prompts the installation or connection popup to appear.