LoginSignup
6
5

More than 5 years have passed since last update.

Cordaのデモのセットアップ方法

Last updated at Posted at 2016-11-30

R3でおなじみCordaのコードが、2016年11月30日にリリースされました。

公式サイト

トレード・デモのインストール方法

CLIとIDE(IntelliJ)でのインストール方法がある様子。

macOSでCLIの場合

1. git cloneして、cd

git clone https://github.com/corda/corda.git
cd corda

2. samples以下にデモ用設定を作成 (gradleとかも自動インストール?)

./gradlew samples:trader-demo:deployNodes

3. 3つのノード用の3つの新しいターミナルを開く

./samples/trader-demo/build/nodes/runnodes

4. 自分で発行したお金を持つ購入者のノードをセットアップ

 ./gradlew samples:trader-demo:runBuyer

5. トランザクションを実行

./gradlew samples:trader-demo:runSeller

デモを動かすための参考ドキュメント
Running the demos — R3 Corda latest documentation

所感

他にもいくつかデモあるから、試してみるといいかも!

  • 今までのブロックチェーン実装の中で最もデモセットアップが楽
  • リリースからちゃんとドキュメントがある。そしてわかりやすい。
  • 開発者視点では、非常に好印象

関連用語

  • R3
  • Linux Foundationの Hyperledger プロジェクト
  • blockchain、ブロックチェーンではなく、分散台帳(DTL)
6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5