Scripts to support checking and verifying a mainnet deploy of the XTC canister.
The scripts are written in node
and rely on yarn
, within the ./tests/smoke
directory install the dependencies by running:
yarn
To confirm the stats response of live is within paramters run:
yarn check:live
To backup the transaction history as json files to a local directory run:
yarn backup:live
The script will sync the difference each time it is run. By default it backs up to ./backup
This requires a backup to have been run. Verify uses the backup to reconstruct the expected ledger and then checks each entry in the expected ledger against the live ledger.
To run:
yarn verify:live
To determine the largest holders of XTC
To run:
yarn whales:live
Show a users transaction history
To run:
yarn userhistory:live 5jehy-ivhe5-cxbh3-dkc2n-4d3cb-4u34q-3uo77-5z4r2-kdivi-lgsn2-uae