Script that queries Sidecar's endpoints first to retrieve the indexes of the pallets of a chain and then queries
/pallets/:palletId/storage/
endpoint frommaster
branch/pallets/:palletId/errors/
from a development branch (not yet merged to master)
- Have a Sidecar instance running connected to a local or live chain (e.g. Kusama)
- git clone this repo
- cd to cloned repo
- Have
nodejs
installed - Install axios:
npm install axios
- If the instance of Sidecar you are running is from
master
branch, you should comment lines 38-43. node main.js
- When you have a Sidecar instance connected to Kusama / Polkadot
The related script is in folder decoded-xcm-msg.