This is a git repo for the cadence contrats for versus@flow. Follow the guide below to set it up and test locally in the terminal.
- Ensure Go is installed on your machine
recommended version 1.16^
- Install the Flow CLI
- Run
$ git clone https://github.com/versus-flow/auction-flow-contract
in a terminal window - Change to the project directory
cd auction-flow-contract
Start two terminals. Both from the root directory.
flow project start-emualator -v
make demo
- install all the contracts
- setup an artist with a wallet to receive his share
- setup a marketplace and put a single 1 vs 10 auction active. Marketplace cut is 15%
- setup bidder1
- have bidder1 bid on the auction
- if you want to you can now start the webpage from the https://github.com/versus-flow/versus-action-website repo to explore the web side
- tick the clock and settle the auction
- settle the auction
- check all the accounts
create a file flow-dev.json put your service account into the service field. account created with faucet