Skip to content

webisoftSoftware/genlabs-exercise-george

Repository files navigation

my-token

A Genie smart contract project.

Project Structure

  • my-token/ — Contract crate (no_std, compiled to RISC-V)
  • my-token-tests/ — Integration tests (requires a running validator)

Prerequisites

  • Rust (with riscv32im-unknown-none-elf target)
  • The gen CLI binary (includes the genie build tool)

Install the RISC-V target:

rustup target add riscv32im-unknown-none-elf

Build

gen genie build my-token

Running Tests

Tests require the gen validator CLI binary. Set GEN_CLI_PATH to point to it:

GEN_CLI_PATH=/path/to/gen cargo test -p my-token-tests

Or add gen to your PATH and run:

cargo test -p my-token-tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors