This repo contains a local arch-network development stack, as well as some one sample program(lottery).
- [Rust]
- [Docker]
- A C++ Compiler (gcc/clang)
- Solana CLI
You can find Lottery Arch Network simple smart contract in https://github.com/FCBtc1116/Arch-Lottery/tree/master/examples/raffle repo.
Run cargo-build-sbf
- Submit a test arch-network transaction, executing the
Lottery
program:
# return to the Raffle dir and run test
cd .. && cargo test -- --nocapture