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 firstname.lastname@example.org: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:
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.