Giter VIP home page Giter VIP logo

auction_contract's Introduction

auction_contract

My Ethereum experiments Write a sample auction contract and made a local test with truffle network

step 1: install truffle

npm install -g truffle

step 2: truffle init

truffle init

it creates the truffle project in your directory

step 3 write your smart contact on truffle project contracts directory

step 4 truffle compile

truffle compile

step 5 To test the contract with blockchain network, we need a sample network truffle has its on sample blockchain , you can get it by writting

truffle develop

it shows 10 accounts and its keyhaskes, you can use any of the account to test with.

step 6 Install Web3

npm install web3

This java script tool help you to connect with the blockchain network, it has some method to connect your bloackchain. the web3 tool need your compiled code of your contact, its called abi or Application binary interface you can get that from build folder for the app.

step 7

create your own test file in apps test folder using web3.

please look more about web3 methods

auction_contract's People

Contributors

ratheeshcn avatar ratheeshandroid avatar

Stargazers

 avatar

Watchers

 avatar

auction_contract's Issues

Track invoices sent by seller(Pending invoices)

In our current system we don't have a mechanism to track the exact status of invoices shared/sent by seller. The seller get notified only when the invoices converted to an order.
So we need an api to lists the invoices sent by seller based on the status

Following are the possible status of invoices

case 1: A seller shared an invoice and it is not checked out.

case 2: A buyer accept the checkout link and completed the profile information

case 3: A buyer checked out successfully

Requirements :

  • An API to list all the invoices sent by seller
  • Add filtering on invoices list based on status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.