A Genie smart contract project.
my-token/— Contract crate (no_std, compiled to RISC-V)my-token-tests/— Integration tests (requires a running validator)
- Rust (with
riscv32im-unknown-none-elftarget) - The
genCLI binary (includes the genie build tool)
Install the RISC-V target:
rustup target add riscv32im-unknown-none-elfgen genie build my-tokenTests 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-testsOr add gen to your PATH and run:
cargo test -p my-token-tests