プロジェクト
GitHubで見る
nosequeldeebee/blockchain-tutorial
概要
200行未満のGoコードで独自のブロックチェーンを作成して公開する
ビジネス・金融計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- -2
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルCode your own blockchain in less than 200 lines of Go!
Tutorial
Read our blog post first to see a walkthrough of the code.
Check out our follow-up tutorials:
- Networking
- Proof of Work
- Proof of Stake
- IPFS
- P2P
- Advanced Concepts for Beginners
- Start your own Hyperledger blockchain the Easy Way!
- Build a DApp on Hyperledger the Easy Way!
- Build your own Blockchain Twitter recorder
Deployment steps:
git clone https://github.com/mycoralhealth/blockchain-tutorial.git- navigate to this directory and rename the example file
mv example.env .env go run main.go- open a web browser and visit
http://localhost:8080/ - to write new blocks, send a
POSTrequest (I like to use Postman) tohttp://localhost:8080/with a JSON payload withBPMas the key and an integer as the value. For example:
{"BPM":50}
- Send as many requests as you like and refresh your browser to see your blocks grow! Use your actual heart rate (Beats Per Minute) to track it over time.
Screenshot

関連プロジェクトを探す
読み込み中…