Skip to content

xops/inspector-snaps-transport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3485128 · Jan 11, 2022

History

14 Commits
Jan 11, 2022
Mar 27, 2020
Mar 27, 2020
Jan 11, 2022
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020
Jan 11, 2022
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020
Jan 11, 2022
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020
Mar 27, 2020

Repository files navigation

Inspector Snaps Transport

This adds Metamask Snaps support to the OpenRPC inspector.

Install Instructions

  1. Go to http://inspector.open-rpc.org
  2. Click HTTP transport dropdown
  3. Select + Add Transport
  4. Add plugin name: Snaps
  5. Add plugin url: https://xops.github.io/inspector-snaps-transport
  6. Select POSTMESSAGE as the transport type
  7. Click Add Transport

add_transport

  1. use your snap id as the url: wallet_plugin_http://localhost:8081/package.json

image

  1. if your snap supports the rpc.discover method you can get features like auto completion for the request:

image

Contributing

How to contribute, build and release are outlined in CONTRIBUTING.md, BUILDING.md and RELEASING.md respectively. Commits in this repository follow the CONVENTIONAL_COMMITS.md specification.