0.0.75 • Published 3 days ago

@coin98t/wallet-adapter-react v0.0.75

Weekly downloads
-
License
MIT
Repository
-
Last release
3 days 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.75

3 days ago

0.0.74

4 days ago

0.0.73

5 days ago

0.0.70

5 days ago

0.0.71

5 days ago

0.0.72

5 days ago

0.0.69

5 days ago

0.0.66

10 days ago

0.0.68

9 days ago

0.0.64

26 days ago

0.0.65

26 days ago

0.0.63

30 days ago

0.0.62

1 month ago

0.0.61

2 months ago

0.0.60

2 months ago

0.0.59

2 months ago

0.0.57

2 months ago

0.0.58

2 months ago

0.0.56

3 months ago

0.0.54

3 months ago

0.0.52

3 months ago

0.0.53

3 months ago

0.0.51

3 months ago

0.0.50

4 months ago

0.0.49

5 months ago

0.0.47

5 months ago

0.0.48

5 months ago

0.0.46

6 months ago

0.0.44

6 months ago

0.0.42

6 months ago

0.0.41

6 months ago

0.0.40

6 months ago

0.0.39

6 months ago

0.0.38

6 months ago

0.0.37

7 months ago

0.0.36

7 months ago

0.0.34

8 months ago

0.0.33

8 months ago

0.0.32

8 months ago

0.0.31

8 months ago

0.0.30

8 months ago

0.0.29

8 months ago

0.0.28

8 months ago

0.0.27

9 months ago

0.0.26

9 months ago

0.0.25

9 months ago

0.0.24

9 months ago

0.0.23

9 months ago

0.0.22

9 months ago

0.0.21

9 months ago

0.0.20

9 months ago

0.0.18

9 months ago

0.0.17

9 months ago

0.0.16

9 months ago

0.0.15

10 months ago

0.0.14

10 months ago

0.0.13

10 months ago

0.0.12

10 months ago

0.0.11

10 months ago

0.0.10

10 months ago

0.0.9

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago