0.0.85 • Published 12 months ago

@coin98t/wallet-adapter-react v0.0.85

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

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:

0.0.84

1 year ago

0.0.85

12 months ago

0.0.80

1 year ago

0.0.81

1 year ago

0.0.82

1 year ago

0.0.83

1 year ago

0.0.78

1 year ago

0.0.79

1 year ago

0.0.76

1 year ago

0.0.77

1 year ago

0.0.75

1 year ago

0.0.74

1 year ago

0.0.73

1 year ago

0.0.70

1 year ago

0.0.71

1 year ago

0.0.72

1 year ago

0.0.69

1 year ago

0.0.66

1 year ago

0.0.68

1 year ago

0.0.64

1 year ago

0.0.65

1 year ago

0.0.63

1 year ago

0.0.62

1 year ago

0.0.61

1 year ago

0.0.60

1 year ago

0.0.59

1 year ago

0.0.57

1 year ago

0.0.58

1 year ago

0.0.56

1 year ago

0.0.54

1 year ago

0.0.52

1 year ago

0.0.53

1 year ago

0.0.51

1 year ago

0.0.50

1 year ago

0.0.49

1 year ago

0.0.47

2 years ago

0.0.48

2 years ago

0.0.46

2 years ago

0.0.44

2 years ago

0.0.42

2 years ago

0.0.41

2 years ago

0.0.40

2 years ago

0.0.39

2 years ago

0.0.38

2 years ago

0.0.37

2 years ago

0.0.36

2 years ago

0.0.34

2 years ago

0.0.33

2 years ago

0.0.32

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago

0.0.28

2 years ago

0.0.27

2 years ago

0.0.26

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago