A set of Tealish smart contracts and corresponding tests intended for the FinHub Workshop Series.
- Make sure you have a GitHub account.
- Log into GitPod by using your GitHub credentials.
- Choose VS Code BROWSER as the default editor.
- If it pops up, fill out the "Tell us more about you" form.
- On the dashboard, click the "New Workspace" button and copy/paste https://github.com/FinHubSA/AlgorandDevWorkshop as the Context URL.
- Keep the default settings (VS Code browser editor and standard class CPU).
- Wait for the workspace to be set up.
- You may safely close all the welcome panels.
- There is a
tealish-0.0.1.vsix
VS Code extension in the project root - install it by right clicking it on the file explorer to the left of the editor and selecting "Install Extension VSIX".
- Do not stop the Algorand Indexer process running in a terminal tab unless you know what you're doing.
- Do not delete
.venv
unless you know what you're doing. - While this GitPod setup is great to get into smart contract development quickly, it is recommended that you set up a local environment on your computer for prolonged learning. Take a look at the Sandbox or, alternatively, AlgoKit.
- Compile your Tealish smart contracts in the
contracts
folder by runningtealish compile contracts
in the terminal at the project root directory (/workspace/AlgorandDevWorkshop
). - Run
pytest
in the project root directory to run all the tests in thetests
folder.
Thank you to Joe Polny for the Docker image and GitPod setup.