Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add get-sns convenience script (#5519)
# Motivation I wrote this script for some investigation and it seemed useful enough to keep. It lets you find some quick information about an SNS based on a partial match of the name, symbol or canister ID. Example: ``` $ scripts/sns/aggregator/get-sns dog Name: DOGMI Symbol: DOGMI Aggregator URL: https://3r4gx-wqaaa-aaaaq-aaaia-cai.icp0.io/v1/sns/root/nb7he-piaaa-aaaaq-aadqq-cai/slow.json Root canister ID: nb7he-piaaa-aaaaq-aadqq-cai Governance canister ID: ni4my-zaaaa-aaaaq-aadra-cai Ledger canister ID: np5km-uyaaa-aaaaq-aadrq-cai Index canister ID: n535v-yiaaa-aaaaq-aadsq-cai Swap canister ID: n223b-vqaaa-aaaaq-aadsa-cai Transaction fee: 50 Minimum neuron stake: 100 Proposal fee: 15000 ``` The listed information is just what I needed but we can add more later. # Changes 1. Added `get-sns` script. # Tests 1. Added a simple test in the GitHub workflow. # Todos - [ ] Add entry to changelog (if necessary). not necessary
- Loading branch information