Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 957 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 957 Bytes

Toh! Redeem

This is the repository containing the smart contract code for the Toh! app.

It currently supports wallet connection and tohken redemption.

Getting started

  • 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 running yarn keypair

Commands

  • Build the program with anchor build
  • Deploy the program with anchor deploy

Getting Program ID

anchor build
anchor keys list