Skip to content

Latest commit

 

History

History
30 lines (29 loc) · 768 Bytes

README.md

File metadata and controls

30 lines (29 loc) · 768 Bytes

DAJ: Decentralized Auction System

Dependencies

  • npm
  • truffle

Test

  1. Set the correct variables in truffle-config.js
  2. Deploy the contracts in the blockchain
    $ truffle migrate --network <blockchain>
  3. Get the addresses of the deployed Contracts
    $ truffle console --network <blockchain>
    > AuctionFactory.address
    '0xdd...'
  4. Set the correct values of the variables in src/config.js
    export const PROVIDER_ADDRESS = 'http://<blockchain_node_address:port>'
    export const AUCTIONFACTORY_ADDRESS = '0xdd...'
  5. Install the project dependencies
    $ npm install
  6. Use the development server to deploy the application
    $ npm run start