Examples of using the Algodex SDK
Note: A more updated trading bot can be found at https://github.com/algodex/trading-bot
- Node.js version 16 or above
- Git
First git clone
the repository. Then from a terminal in the directory:
npm install
cp .env.testnet.example .env
Edit the .env file to your Algorand node and indexer endpoints, and add in your wallet mnemonic (without commas).
npm run compile-and-start -- --assetId=<assetId>
npm run test