@coin98t/wallet-adapter-react v0.0.75
Readme C98 adapter
@coin98t/wallet-adapter-react is the React integration for Coin98 Wallet Adapter.
Documentation
docs.coin98.com/developer-guide/coin98-adapter
Installation
npm install @coin98t/wallet-adapter-react
Provider
Hooks
States
autoConnect
\ Connect wallet automatically when refresh dapp site.wallets
\ Wallet list to be used.enables
\ Blockchain list to be used.wallet
\ Selected wallet.address
\ Address.connected
\ State that wallet is connected.connecting
\ State that wallet is connecting.disconnecting
\ State that wallet is disconnecting.selectedBlockChain
\ Connected blockchain.isNotInstalled
\ State that wallet is not installed.provider
\ Connected provider.selectedChainId
\ Connected network.
Functions
selectWallet
\ Choose wallet type to connect.disconnect
\ Disconnect wallet.connect
\ Connect to the selected wallet.switchNetwork
\ Request wallet to switch its current chain to the requested chain.requestInstall
\ Show the install wallet request modal.sendTransaction
\ Creates a new transaction confirmation from the user's wallet address.signMessage
\ Presents a plain text signature challenge to the user and returns the signed response.signTypedData
\ Presents a structured and readable data message for the user to sign, then returns a signed response.ethSign
\ Presents a data message for the user to sign arbitrary messages.watchAsset
\ Request to track a specific token in wallet.getEncryptionPublicKey
\ Requests to get user wallet address's public encryption key.ethDecrypt
\ Request to decrypt a specific encrypted message.
Example
https://docs.coin98.com/developer-guide/coin98-adapter/example
Related
Checkout these related projects:
3 days ago
4 days ago
5 days ago
5 days ago
5 days ago
5 days ago
5 days ago
10 days ago
9 days ago
26 days ago
26 days ago
30 days ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago