Skip to content

ChainGenie/Value-Chain-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Value Chain Demo:
Link to working demo: http://valuechain.chaingenie.com
Link to GitHub pages: https://chaingenie.github.io/Value-Chain-Demo/

Information about this project:

  • This demo was developed as part of WCF SBL™ lab.
  • Application is built on Ethereum blockchain.
  • Application is configured to run on private Ethereum test node.
  • All transaction values are in Ether. Other currencies coming soon.
  • DAPP uses solidity as its programming language for smart contracts.
  • All interactions with the blockchain uses ChainGenie® sandbox framework.
  • ChainGenie® catalog used for this demo is “Value Chain APIs”.
  • Email [email protected] for your sandbox ApiKey.
  • DAPP code for the solution is available on GitHub.

Workflow:

  • LIST: Seller initiates sale – CreateTradeContract
    • Value and details of item on sale is recorded on blockchain
    • End transaction state = created
  • BID / BUY: Buyer confirms interest in buying – ConfirmPurchase
    • Escrow from buyer added to value of contract
    • Invoice document is created with all details from invoice template
    • Invoice is added IPFS and blockchain
    • End transaction state = locked
  • DELIVERY CONFIRMATION: Buyer can confirm receipt of item – ConfirmReceived
    • Value fully sent to seller from escrow
    • End transaction state = inactive
    • TRANSACTION COMPLETE
  • Addon: Seller option 1
    • Seller can cancel the market trade after listing but before bid/buy – ConfirmAbort
    • Escrow (if collected, none in this case) from seller is returned back to the seller (penalties can be imposed)
    • End transaction state = inactive
  • Addon: Seller option 2
    • Seller can cancel the market trade after bid/buy by refunding the seller – ConfirmRefund
    • Escrow from buyer is returned back to the buyer
    • Escrow (if collected, none in this case) from seller is returned back to the seller (penalties can be imposed)
    • End transaction state = inactive

The below represents the components that can make up your workflow and a proposal to put them together.







Project visionaries:


Project mentor / guide:


License and Software Versions: License
Should you have installed the open source version of the Software that version of the Software is subject to this EULA as well as the terms of the GNU Affero General Public License version 3 or later.
Please note, however, that as an end user of the Software the provisions of this EULA shall prevail. Should You wish to change or distribute the Software the provisions of the GNU Affero General Public License shall take precedence.

Releases

No releases published

Packages

No packages published

Languages