0.0.1-alpha.1 • Published 4 years ago
cfx-walletconnect-client v0.0.1-alpha.1
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
0.0.1-alpha.1
4 years ago