For TEALScript documentation, go to https://tealscript.algo.xyz
This template assumes you have a local network running on your machine. The easiet way to setup a local network is with algokit if you don't have Algokit or its dependencies installed locally you can open this repository in Gitpod via https://gitpod.io/new and pasting in your repository's URL.
npm run build
will compile the contract to TEAL and generate an ABI and appspec JSON in ./contracts/artifacts and a algokit TypeScript client in ./contracts/clients.
npm run compile-contract
or npm run generate-client
can be used to compile the contract or generate the contract seperately.
npm run test
will execute the tests defined in ./__test__
npm run lint
will lint the contracts and tests with ESLint.