/QstackXYZ

Primary LanguageTypeScript

TEALScript Project

Documentation

For TEALScript documentation, go to https://tealscript.algo.xyz

Usage

Algokit

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 a GitHub codespace via https://codespaces.new and choosing this repo.

Build Contract

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.

Run Tests

npm run test will execute the tests defined in ./__test__

Lint

npm run lint will lint the contracts and tests with ESLint.