This is the repository containing the smart contract code for the Toh! app.
It currently supports wallet connection and tohken redemption.
- Install the toolchain, for quick guide check out the Anchor docs.
- Rust 1.60.x
- Anchor 0.27.0
- NodeJS 16.x
- Yarn 1.22.x
- Recomended if you use vscode: Rust official vscode extension
- Install node_modules with
yarn
- Update anchor provider.wallet on
Anchor.toml
file with the path to your keypair. You can check your keypair path with runningyarn keypair
- Build the program with
anchor build
- Deploy the program with
anchor deploy
anchor build
anchor keys list