The Folks Smart Contract Library is a curated, modular collection of audited, reusable smart contracts designed to accelerate development on the Algorand blockchain. The library allows you to focus on your business logic by abstracting away common patterns and security mechanisms.
Please refer to the official documentation for further details.
- Linux or macOS
- Python 3
- AlgoKit
To install all required packages, run:
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txtnpm installTo generate the TEAL code, ARC56 specs and TS clients for the contracts, run the command:
npm run buildStart an Algorand localnet with AlgoKit and Docker using:
algokit localnet startMake sure to run the compilation commands before testing.
Run all tests from root directory using:
npm run testor single test file using:
PYTHONPATH="./contracts" npx jest <PATH_TO_TEST_FILE>It is not possible to run the tests in parallel so --runInBand option is passed.