Skip to content

A cli tool that interacts with an Ethereum smart contract for creating and trading auctions

License

Notifications You must be signed in to change notification settings

PanGan21/auctionplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auctionplace

A cli tool that interacts with an Ethereum smart contract for creating and trading auctions

Run ganache or any other provider

make ganache

Deploy the smart contract locally

make deploy

Build the project

make build

Create an auction

./auctionplace run auction --action create --name pg1 --description des1 --min 2

Fetch user auctions

./auctionplace run auction --action user --account 0xFCAd0B19bB29D4674531d6f115237E16AfCE377c

Create an offer

./auctionplace run offer --action create --auctionId 1 --amount 5

Fetch user offers

./auctionplace run offer --action user --account 0xFCAd0B19bB29D4674531d6f115237E16AfCE377c

Trade an auction with the best offer

./auctionplace run trade --auctionId 1

About

A cli tool that interacts with an Ethereum smart contract for creating and trading auctions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published