Wallet Adapter
There are two wallet adapter standards in the Aptos ecosystem:
- Aptos Wallet Adapter by Aptos Labs
- OKX Connect by OKX
Aptos Wallet Adapter
The Aptos Wallet Adapter by Aptos Labs provides a single interface for Aptos dapps and Aptos wallets to communicate with each other.
For dapp developers, this means that you can connect to any Aptos wallet that is integrated with the Wallet Adapter without needing to write custom code for each wallet. This is described in AIP-62, which defines the Modern Wallet Standard and autodetection of wallets.
For Aptos wallet providers, integrating with AIP-62 means that your wallet will be compatible with any dapp that uses the Wallet Adapter.
For Aptos Dapps
Follow the Wallet Adapter for Dapp Builders Guide on how to use the Wallet Adapter (via the Wallet Adapter React package).
For Aptos Wallet Providers
Follow one of these guides for how to implement a Wallet Adapter plugin that dapps can connect to:
- For Browser Extension Wallets (ex. Petra)
- For SDK Wallets (ex. AptosConnect)
OKX Connect
The OKX Connect adapter provides an interface for Aptos dapps to connect to OKX wallet and other wallets that support the OKX Connect standard. You can find more information about OKX Connect for Aptos dapps in the OKX Connect documentation
Other Resources
- Dapp Builder Guide
- Wallet Browser Extension Guide
- SDK Wallet Builder Guide
- Modern Wallet Standard (AIP-62)
- Wallet Adapter React Package
- Wallet Standard repo (with an example template for creating an AIP-62 Wallet plugin)
- Core logic and react components for the aptos-wallet-adapter.