Skip to content

tejas-kothari/BazaarEx

Repository files navigation

BazaarEx

An online marketplace for second-hand electronic goods with decentralised logistics

Built on Fluence and Ethereum

Do not use for production!

Documentation

Medium article: https://medium.com/@tejas23682320/bazaarex-a-decentralised-marketplace-built-on-fluence-4102697377ae Gitbook: https://xpact.gitbook.io/bazaarex/

Usage

Build and deploy ERC721 smart contract using Truffle

  1. cd nft_contract
  2. npm install
  3. truffle compile
  4. truffle develop - This will start the RPC server and development blockchain environment
  5. migrate in Truffle console to deploy contract
  6. Note down the ERC721 contract address and owner address

To log requests on the Truffle RPC server, run truffle develop --log

Build and run BazaarEx

  1. Change CON_OWNER and CON_ADD variables to owner and contract address respectively in src/nft_contract_adapter.rs
  2. ./build.sh

    Note: For demo purposes, each account registered receives 1 ETH from the contract owner

File structure

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages