Skip to content

Emmo00/auctioneer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auctioneer

simple auction application

A dApp where you can participate and create your own auctions.

For this implementation, A user can create only one active auction at a time.

Getting Started

Below you'll find instructions on how setting up this dapp locally.

Prerequisites

Here are some packages you need to have installed on your PC:

Installation

  1. Clone this repo
    git clone https://github.com/Emmo00/auctioneer.git
  2. Install NPM packages
    yarn  install
  3. Build and run the dapp via cartesi-cli
    cartesi build 
    and
    cartesi run 

Usage

Here you can access the examples of dapp communication and resources consume.

There are these resources available on this dapp:

Advanced handlers

  • create auction

Creates an auction with the user's address

  • update bid

Updates the active amount for an auction. this changes the bid amount of an auction to 7/4 of the original amount and sets the active bidder

Inspect handlers

  • list auctions

lists all the auctions on the dApp

  • show auction

Shows the details of an auction. owner, activeAmount and ActiveBidder

License

MIT License

About

Auction application build with cartesi rollup

Topics

Resources

Stars

Watchers

Forks