Wallet Adapter For Wallet Builders
To gain from dapps in the Aptos Ecosystem and provide your users the functionality they are looking for in a wallet, your wallet plugin should follow the Aptos Wallet Standard and be built from the Aptos Wallet Adapter.
The wallet-adapter-plugin-template repository gives wallet builders a pre-made class with all required wallet functionality following the Aptos Wallet Standard for easy and fast development.
git clone email@example.com:aptos-labs/wallet-adapter-plugin-template.git
- Replace all
urlwith your website URL.
iconto your wallet icon (pay attention to the required format).
- Make sure the
<your-wallet-name>as a key (instead of
- Run tests with
pnpm test- all tests should pass.
At this point, you have a ready wallet class with all required properties and functions to integrate with the Aptos Wallet Adapter.
Publish as a package
The next step is to publish your wallet as an NPM package so dapps can install it as a dependency. Use one of the options below:
Creating and publishing scoped public packages
Creating and publishing unscoped public packages
If your wallet provides functionality that is not included, you should open a pull request against
aptos-wallet-adapter in the core package to have it support this functionality. See the
signTransaction on the wallet core package for guidance.
Add your name to the wallets list
Once the package is published, create a pull request against the aptos-wallet-adapter package and add your wallet name to the supported wallet list on the README file as a URL to your NPM package.