Getting started
Start integrating Fletch wallet into your Dapp to offer users a friendly experience and gateway to interact with the Aptos Blockchain.
Installation
To get started with Fletch Wallet, you have to first install the fletch wallet extension here.
Once Fletch wallet is installed, ensure to back up your Secret Recovery Phrase.
Connection
To access Fletch Wallet, clients must connect (Sign-in) to Fletch Wallet first. The connection request can be initiated by calling window.fletch.connect()
.
See code below for connection to Fletch Wallet:
Get connected state
Disconnection
Clients can disconnect from Fletch Wallet by calling window.fletch.disconnect()
.
N/B: After wallet disconnection, the user must re-connect to access Fletch Wallet.
See the code below to disconnect Fletch wallet:
Last updated