Coder Social home page Coder Social logo

blockchain-lc-demo's Introduction

Letters of Credit - A Smart Contract Implementation

This is a VERY SIMPLE demo to implement Letter of Credit using smart contract (Solidity)

Usage

WARNING: Please try this demo in a private blockchain network
  • Install nodejs and npm
  • Install geth
  • Create the roles in this demo: Bank, Importer, Exporter
  • Set up config.ini
$ npm install
$ node ./create_LC.js
$ node ./demo.js

--

智慧合約信用狀

這是一個簡單的 demo,使用智慧合約來實現最簡單的即期信用狀交易流程。

WARNING: 這只是一個簡單且沒有驗證過安全性的 demo,請使用私有區塊鍊來執行。

用法

  • 安裝 nodejs 及 npm
  • 安裝 geth
  • 在私鍊中創建合約所需要的角色:Bank、Importer、Exporter
  • 參考 config.template.ini,將所需資料寫入 config.ini
$ npm install
$ node ./create_LC.js
$ node ./demo.js

blockchain-lc-demo's People

Contributors

lockercho avatar

Stargazers

M Pruthvi Taranath avatar

Watchers

James Cloos avatar  avatar

Forkers

navalluri

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.