This project hasn't been security audited and should not be used in a production environment.
To install all required packages, run: pip install -r requirements
.
There are a number of bash script files which execute the goal commands for you.
They should be run in the following order:
- startnet.sh: Sets up private network
- createapp.sh: Compiles the PyTeal files to TEAL and deploys the stateful smart contract
- fundescrow.sh: Send Algos to escrow account
- linkapptoescrow.sh: Adds the escrow address to the application's global state
- createasa.sh: Creates a new ASA from the escrow account
- fundasa.sh: Receive 1 ASA that was created by the escrow account
- stopnet.sh: Delete private network