Skip to content

Imod7/testing-sidecar

Repository files navigation

Testing Sidecar's Endpoints

Script that queries Sidecar's endpoints first to retrieve the indexes of the pallets of a chain and then queries

  • /pallets/:palletId/storage/ endpoint from master branch
  • /pallets/:palletId/errors/ from a development branch (not yet merged to master)

Prerequisites

  • 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

How to run

  • If the instance of Sidecar you are running is from master branch, you should comment lines 38-43.
  • node main.js

Example Result

  • When you have a Sidecar instance connected to Kusama / Polkadot

Storage endpoint for Kusama Pallets

Testing Decoded XCM Msgs in Sidecar's Blocks Endpoints

The related script is in folder decoded-xcm-msg.

About

Testing Sidecar's different endpoints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published