cfx-walletconnect-client
v0.0.1-alpha.1
Published
**[WalletConnect]** client for Conflux Network.
Downloads
9
Readme
cfx-walletconnect-client
[WalletConnect] client for Conflux Network.
Example
Install
npm install cfx-walletconnect-client --save
# or
yarn add cfx-walletconnect-client
Usage
import WalletConnectCfx from 'cfx-walletconnect-client'
const bridge = "https://bridge.walletconnect.org";
// same api with @walletconnect/client
const connector = new WalletConnectCfx({ bridge });
methods
connector.sendTransaction(tx)
call cfx_sendTransaction to remote wallet
connector.signTransaction(tx)
call cfx_signTransaction to remote wallet
connector.signMessage(params)
call cfx_sign to remote wallet
Changelog
License
[MIT]