This adds Metamask Snaps support to the OpenRPC inspector.
- Go to http://inspector.open-rpc.org
- Click
HTTP
transport dropdown - Select
+ Add Transport
- Add plugin name:
Snaps
- Add plugin url:
https://xops.github.io/inspector-snaps-transport
- Select
POSTMESSAGE
as the transport type - Click
Add Transport
- use your snap id as the url:
wallet_plugin_http://localhost:8081/package.json
- if your snap supports the rpc.discover method you can get features like auto completion for the request:
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.