mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 05:25:35 +00:00
docs/tutorials: specify 0.34 (#5823)
# Description Specify 0.34 for tutorials. Closes: #5735
This commit is contained in:
@@ -586,10 +586,27 @@ dependency management.
|
||||
|
||||
```bash
|
||||
go mod init github.com/me/example
|
||||
go build
|
||||
go get github.com/tendermint/tendermint/@v0.34.0
|
||||
```
|
||||
|
||||
This should build the binary.
|
||||
After running the above commands you will see two generated files, go.mod and go.sum. The go.mod file should look similar to:
|
||||
|
||||
```go
|
||||
module github.com/me/example
|
||||
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
github.com/dgraph-io/badger v1.6.2
|
||||
github.com/tendermint/tendermint v0.34.0
|
||||
)
|
||||
```
|
||||
|
||||
Finally, we will build our binary:
|
||||
|
||||
```sh
|
||||
go build
|
||||
```
|
||||
|
||||
To create a default configuration, nodeKey and private validator files, let's
|
||||
execute `tendermint init`. But before we do that, we will need to install
|
||||
|
||||
Reference in New Issue
Block a user