@acentswap/multiwallet-ethereum-walletconnect-connector 中文文档教程
@acentswap/multiwallet-ethereum-walletconnect-connector
这个包为 WalletConnect 移动钱包提供了一个连接器。
Usage
new EthereumWalletConnectConnector({
rpc: {
// Note, many WalletConnect wallets don't support non-mainnet networks
// Metamask Mobile has been tested and confirmed to work however
42: `https://kovan.infura.io/v3/${process.env.REACT_APP_INFURA_KEY}`,
},
qrcode: true,
debug: true,
});
Parameters
parameter | type | description |
---|---|---|
debug | boolean | Print debug messages |
rpc | { integer: string } | A map of chain ids to Websocket RPC URLs |
qrcode | boolean | Whether to show a qrcode modal |
@acentswap/multiwallet-ethereum-walletconnect-connector
This package provides a connector for WalletConnect mobile wallets.
Usage
new EthereumWalletConnectConnector({
rpc: {
// Note, many WalletConnect wallets don't support non-mainnet networks
// Metamask Mobile has been tested and confirmed to work however
42: `https://kovan.infura.io/v3/${process.env.REACT_APP_INFURA_KEY}`,
},
qrcode: true,
debug: true,
});
Parameters
parameter | type | description |
---|---|---|
debug | boolean | Print debug messages |
rpc | { integer: string } | A map of chain ids to Websocket RPC URLs |
qrcode | boolean | Whether to show a qrcode modal |
更多
你可能也喜欢
- 2p-test-solve 中文文档教程
- @0xcert/erc721-validator 中文文档教程
- @0xproject/asset-buyer 中文文档教程
- @1hive/apps-brightid-register 中文文档教程
- @36node/bus-messenger 中文文档教程
- @4keys/date-fns-utc-locale-es 中文文档教程
- @5amcode/sunrise-components 中文文档教程
- @7r/eslint-config-7r-building 中文文档教程
- @9softstudio/react-grid 中文文档教程
- @a-a-game-studio/aa-image-manipolatore 中文文档教程