An online marketplace for second-hand electronic goods with decentralised logistics
Do not use for production!
Medium article: https://medium.com/@tejas23682320/bazaarex-a-decentralised-marketplace-built-on-fluence-4102697377ae Gitbook: https://xpact.gitbook.io/bazaarex/
cd nft_contractnpm installtruffle compiletruffle develop- This will start the RPC server and development blockchain environmentmigratein Truffle console to deploy contract- Note down the ERC721 contract address and owner address
To log requests on the Truffle RPC server, run
truffle develop --log
- Change
CON_OWNERandCON_ADDvariables to owner and contract address respectively insrc/nft_contract_adapter.rs ./build.shNote: For demo purposes, each account registered receives 1 ETH from the contract owner
/srcBazaarEx logic code/curl_adapterFluence curl adapter/web3Custom Web3 library modified from Fluence example/ethereum-tx-sign- Custom raw transaction signing library modified from ethereum-tx-sign to use libsecp256k1/nft_contractTruffle project with ERC721 Solidity files