D'CENT WalletConnect
The Structural Diagram to Know How WalletConnect Works
connector event subscription
event
: connect, disconnect, session_request, session_update, call_request, wc_sessionRequest, wc_sessionUpdate
create session (session_request)
kill session (disconnect)
example code
sendTransaction, signTransaction
Other connector methods :
signMessage
,signPersonalMessage
,signTypedData
For more information, refer to the following:
Get D’CENT Wallet Address
Request D’CENT to create accounts
qrcodeModalOptions
qrcodeModalOptions
qrcodeModalOptions
interface
property | type | required |
---|---|---|
serviceName | string | required |
accounts | IAccount [] | not required |
IAccount
interface
property | type | required | example |
---|---|---|---|
contractAddress | string | required | 0x4c665BBafd28Ec9e5D792345f470ebFcA21E3d15 |
networkType | string | required | ETHEREUM / POLYGON / … |
name | string | required | only when networkType supports contract |
symbol | string | required | only when networkType supports contract |
example
NetworkType List
Network types where you can create accounts. (Main Account & Token Account Support)
networkType | support contract |
---|---|
BITCOIN | X |
BTC-SEGWIT | X |
ETHEREUM | O |
RSK | O |
XRP | O |
MONACOIN | X |
KLAYTN | O |
BITCOINCASH | X |
BCH-ABC | X |
ECASH | X |
ZCASH | X |
LITECOIN | X |
LTC-SEGWIT | X |
BITCOIN-GOLD | X |
DASH | X |
DIGIBYTE | X |
DGB-SEGWIT | X |
RAVENCOIN | X |
BINANCE | O |
STELLAR | O |
ETH-CLASSIC | X |
BITCOIN-SV | X |
TRON | O |
DOGECOIN | X |
LUNIVERSE | O |
PALM | X |
FLARE | X |
XINFIN | O |
CARDANO | X |
BSC | O |
POLYGON | O |
HORIZEN | X |
HEDERA | O |
STACKS | O |
SOLANA | O |
POLKADOT | X |
CONFLUX | O |
HECO | O |
XDAI | O |
FANTOM | O |
CELO | O |
METADIUM | O |
KUCOIN | O |
SONGBIRD | O |
AVALANCHE | O |
EWT | O |
ARBITRUM | O |
BODA | O |
OEC | O |
HARMONY | O |
ORBITCHAIN | O |
OPENCOIN | O |
CRONOS | O |
Last updated