Skip to content

nduplessis/auction-flow-contract

 
 

Repository files navigation

Versus Flow Auction Contract

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.

Prerequisites

  1. Ensure Go is installed on your machine recommended version 1.16^
  2. Install the Flow CLI
  3. Run $ git clone https://github.com/versus-flow/auction-flow-contract in a terminal window
  4. Change to the project directory cd auction-flow-contract

How to run the sample

Start two terminals. Both from the root directory.

  • flow project start-emualator -v
  • make demo

What happends in the sample

  1. install all the contracts
  2. setup an artist with a wallet to receive his share
  3. setup a marketplace and put a single 1 vs 10 auction active. Marketplace cut is 15%
  4. setup bidder1
  5. have bidder1 bid on the auction
  6. 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
  7. tick the clock and settle the auction
  8. settle the auction
  9. check all the accounts

Deploy to testnet

create a file flow-dev.json put your service account into the service field. account created with faucet

About

Cadence contracts for the versus auction syustem.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 92.8%
  • Makefile 5.4%
  • Shell 1.8%