Git Product home page Git Product logo

new-blockchain-solution-of-international-trade's Introduction

New Blockchain solution of international trade

image image

image

Description

  1. Replace Letter of Credit (L/C) with smart contract to manage transaction payments.

  2. Smart contract programming language: Solidity.

  3. Blockchain platform: Ethereum.

  4. Remember to switch the account when simulating with differnent identities.

  5. Quorum is a Ethereum-based platform, which allows user to assign specific accounts to view the information or use the functions of contract before the contract is deployed.

Certification Mechanism

  1. Sequence of contract certification (1.Importer approval -> 2.Exporter approval -> 3.Bank approval -> 4.LC complete )

  2. Automatic Reconciliation System
    The payment (PaybeforeShippment+PayAfterShippment) should be equal to contract price so that the contract will be certificated.

Quick Test on Remix ide without downloading any file

  1. Open Remix ide in your browser.

  2. Create a new .sol file on Remix and paste BlockchainSolution.

  3. Edit the contract.

  4. Click the Run button and Choose JavaScript VM environment.

  5. Copy and Paste the address of Importer(0xca35b7d915458ef540ade6068dfe2f44e8fa733c), Exporter(0x14723a09acff6d2a60dcdf7aa4aff308fddc160c), Bank(0x14723a09acff6d2a60dcdf7aa4aff308fddc160c)

  6. Deploy the contract with Importer Account.

  7. Use setInform function to Enter the information.

  8. Click L/C approval in a standard order (Importer -> Exporter -> Bank).

  9. After getting 3 parties approval (sequence = 4) , the contract will be locked then Importer can use Pay funciton to Pay deposit.

  10. When Balance = PaybeforeShippment, boolDeposit will be True and Exporter can click shipment function.

  11. After goods arrive importer's port, importer should pay the rest payment before receiving goods(PayAfterShippment).

  12. After Importer receives and cofirms the condition of goods, click finish function and the payment will be transferred to Exporter's account.

Dispute Handling

  1. When dispute happened, Importer and Exporter can click dispute function to ask for arbitrate.

  2. After dispute function is called, Bank acquires the permission to controll the balance on contract, and Bank is able to use arbitrate funtion to transfer money to Importer or Exporter according to the result of arbitrate.

Future Work

  1. Python GUI (in process)

  2. Web GUI

  3. Add more details to build a full-featured platform.

new-blockchain-solution-of-international-trade's People

Contributors

69ioioo avatar hhh2012aa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.