プロジェクト
概要
a blockchain implementation in 200 lines of code.
ビジネス・金融計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルnaivechain
Naivechain - a blockchain implementation in 200 lines of code.
Quick start
git clone https://github.com/sunysen/naivechain.git
cd naivechain
mvn clean install
java -jar naivechain.jar 8080 7001
java -jar naivechain.jar 8081 7002 ws://localhost:7001
HTTP API
query blocks
curl http://localhost:8080/blocksmine block
curl --data "data=Some data to the first block" http://localhost:8080/mineBlockadd peer
curl --data "peer=ws://localhost:7001" http://localhost:8080/addPeerquery peers
curl http://localhost:8080/peers
関連プロジェクトを探す
読み込み中…