Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@qtumproject/wallet-snap

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qtumproject/wallet-snap

Qtum Snap is a MetaMask Snap that allows you to work with Qtum network by using ethers js providers.

latest
Source
npmnpm
Version
0.1.0-rc.1
Version published
Maintainers
2
Created
Source

Qtum Snap

Qtum snap is a snap, that allows to interact with Qtum blockchain by implementing metamsk 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] },
  },
});

FAQs

Package last updated on 12 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts