Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 614 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 614 Bytes

arch-lottery

This repo contains a local arch-network development stack, as well as some one sample program(lottery).

Requirements:

Getting Started

You can find Lottery Arch Network simple smart contract in https://github.com/FCBtc1116/Arch-Lottery/tree/master/examples/raffle repo.

Build program

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