Skip to content

Lottery Smart Contract on Arch Network Bitcoin L1. Users bid and update user info and choose winner randomly

Notifications You must be signed in to change notification settings

FCBtc1116/Arch-Lottery-Smart-Contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Lottery Smart Contract on Arch Network Bitcoin L1. Users bid and update user info and choose winner randomly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published