https://github.com/takapi327/kvstore
tendermintのチュートリアル用リポジトリ
https://github.com/takapi327/kvstore
Last synced: 9 months ago
JSON representation
tendermintのチュートリアル用リポジトリ
- Host: GitHub
- URL: https://github.com/takapi327/kvstore
- Owner: takapi327
- Created: 2022-04-23T10:18:29.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-25T15:13:13.000Z (about 4 years ago)
- Last Synced: 2025-04-01T13:27:35.916Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 83 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [tendermint](https://docs.tendermint.com/master/tutorials/go-built-in.html)のチュートリアル用リポジトリ
## 立ち上げと実行
まだtendermintをgo getで取得していない場合以下を実行
```console
$ go get github.com/tendermint/tendermint@v0.35.4
```
tendermintの設定ファイルが存在していない場合、もしくは更新が必要な場合は以下を実行
```console
$ go run github.com/tendermint/tendermint/cmd/tendermint@v0.35.4 init validator --home ./tendermint-home
```
ビルドしてmy-appを生成
```console
$ go build -mod=mod -o my-app
```
my-appを実行して、アプリケーションを起動させる。
ブロックの生成が開始しされ、ログ出力に反映されたら成功。
```console
$ ./my-app -tm-home ./tendermint-home
```