@qtumproject/qtum-wallet

0.2.0 • Public • Published

QTum Wallet

QTum wallet is a snap, that allows to interact with QTum blockchain by implementing metamask RPC requests handlers https://docs.metamask.io/wallet/reference/json-rpc-api/.

Methods

To interact with it, simply use wallet_invokeSnap as proxy to call snap methods.

await window.ethereum.request({
  method: 'wallet_invokeSnap',
  params: {
    snapId: 'snapId',
    request: { method: 'eth_call', params: [...myParams] },
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i @qtumproject/qtum-wallet

Weekly Downloads

4,824

Version

0.2.0

License

(MIT-0 OR Apache-2.0)

Unpacked Size

3.42 MB

Total Files

5

Last publish

Collaborators

  • dl_kyrylo
  • alejoacosta