Finnie Wallet
Integrate your dApp with Finnie wallet
Last updated
Integrate your dApp with Finnie wallet
Last updated
To integrate with Finnie use the hook and import it is as easy as:
useFinnie
hook exports many variables and helpers to integrate with Finnie.
connectFinnie
a function to call to try to connect to Finnie. e.g:
When connectFinnie
succeed you'll have:
Your Finnie address in walletAddress
Both your KOII and Arweave balance in walletBalance
isFinnieConnected set to true
When connectFinnie
fail you'll have:
isError
set to false
isFinnieConnected
set to false
When you're still in the process of connecting to Finnie you'll have isLoading
set to true
e.g:
Calling disconnectFinnie
will disconnect the connection to Finnie.
When you're connected to Finnie, you can interact with any Finnie exposed API. e.g: The function inside used to send KOII from your wallet to another address.