stellar-transfer-server-validator v1.0.0
transfer-server-validator
This project is intended to run an automated test suite on a Stellar anchor's SEP24 transfer server. It can be used as a javascript library or command line utility. It will interact with your anchor server and validate that everything is working properly, or it will tell you what is going wrong.
Installation
Install dependencies
npm install
Running
Validate the transfer server defined at stellar.org/.well-known/stellar.toml
npm run cli -- stellar.org
Or build and run the javascript
npm run build
node dist/cli.js stellar.org
Debugging
You can use Chrome's DevTools for interactive debugging and a REPL.
Add a debugger;
command in your code to add a breakpoint, then run cli:debug
to run the cli in debug mode.
npm run cli:debug -- stellar.org
To run your code in debug mode
Open Chrome and visit about:inspect
, then click Open dedicated DevTools for Node
You can leave this devtool window open and new cli:debug
sessions will automatically be loaded.
4 years ago