cfx-walletconnect-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.1 • Public • Published

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]

Readme

Keywords

none

Package Sidebar

Install

npm i cfx-walletconnect-client

Weekly Downloads

0

Version

0.0.1-alpha.1

License

MIT

Unpacked Size

121 kB

Total Files

15

Last publish

Collaborators

  • 21paradox