auctionplace

command module
v0.0.0-...-2fb1a98 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 7 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
contracts
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL