diff --git a/hellochain/tutorial/00-intro.md b/hellochain/tutorial/00-intro.md index 35f0809d02..6f131edbdc 100644 --- a/hellochain/tutorial/00-intro.md +++ b/hellochain/tutorial/00-intro.md @@ -10,7 +10,8 @@ module. For this tutorial we are going to first build a "blank" application capable of only bank-like interactions and then add some arbitrary "hello world" -functionality in the form of our `greeter` module. +functionality in the form of our `greeter` module. Nothing needs to be downloaded +or cloned, we will create every file from scratch. ### Starter diff --git a/hellochain/tutorial/01-simple-app.md b/hellochain/tutorial/01-simple-app.md index 16c0fe09ed..2a9d858300 100644 --- a/hellochain/tutorial/01-simple-app.md +++ b/hellochain/tutorial/01-simple-app.md @@ -47,7 +47,7 @@ func NewHelloChainApp(logger log.Logger, db dbm.DB) abci.Application { // compose our app with starter var app = &helloChainApp{ - appStarter + appStarter, } // do some final configuration... diff --git a/hellochain/tutorial/02-simple-start.md b/hellochain/tutorial/02-simple-start.md index 66878c2fd1..3cf870f9f5 100644 --- a/hellochain/tutorial/02-simple-start.md +++ b/hellochain/tutorial/02-simple-start.md @@ -6,7 +6,7 @@ order: 2 ### hcd -Let's start with our "daemon". Open the file `cmd/hcd/main.go`. This will be +Let's start with our "daemon". Create the file `cmd/hcd/main.go`. This will be your `hellochain daemon` command. For now we will rely on `starter` to bundle things up, but we will come back later to add our own `greeter` functionality when it's ready. diff --git a/hellochain/tutorial/03-make.md b/hellochain/tutorial/03-make.md index ac6cc17637..bdfe08ac2e 100644 --- a/hellochain/tutorial/03-make.md +++ b/hellochain/tutorial/03-make.md @@ -24,7 +24,6 @@ all: install install: go.sum go install $(BUILD_FLAGS) ./cmd/hcd - go install $(BUILD_FLAGS) ./cmd/hccli go.sum: go.mod @echo "--> Ensure dependencies have not been modified" diff --git a/hellochain/tutorial/06-module.md b/hellochain/tutorial/06-module.md index 88dce6f5d9..29bed5abd0 100644 --- a/hellochain/tutorial/06-module.md +++ b/hellochain/tutorial/06-module.md @@ -11,7 +11,7 @@ handler and querier functions for receiving messages and retrieving chain state. For this tutorial we are going to build a `greeter` module that adds the "hello -world" fucntionality we want while relying upon several other modules from the +world" functionality we want while relying upon several other modules from the SDK to provide the rest of the blockchain functionality. Every module must implement the [AppModule diff --git a/hellochain/tutorial/12-client.md b/hellochain/tutorial/12-client.md index 2c317fc781..67f2539279 100644 --- a/hellochain/tutorial/12-client.md +++ b/hellochain/tutorial/12-client.md @@ -14,7 +14,7 @@ module's client package. These will then later be used to incorporate ## TxCmd -For `greeter`'s `TxCmd` we will implement `say`, the command for creating snd +For `greeter`'s `TxCmd` we will implement `say`, the command for creating and sending a greeting to an account address. Add this to `x/greeter/client/cli/tx.go` @@ -26,7 +26,7 @@ Add this to `x/greeter/client/cli/tx.go` And for `greeter`'s `QueryCmd` we will implement `list`, the command for querying our blockchain for all greetings from a given address. -And add this to `x/greeter/client/query.go` +And add this to `x/greeter/client/cli/query.go` <<< @/hellochain/x/greeter/client/cli/query.go diff --git a/hellochain/tutorial/15-full-app.md b/hellochain/tutorial/15-full-app.md index 8badc72079..08f70d7d55 100644 --- a/hellochain/tutorial/15-full-app.md +++ b/hellochain/tutorial/15-full-app.md @@ -11,4 +11,4 @@ and add greeter's AppModuleBasic and AppModule alongside the other modules. Update your `app.go` to look like the following -<<< @/hellochain/app.go{12,1326,27,34,37,40,45,46,50,51,54} +<<< @/hellochain/app.go{12,13,26,27,34,37,40,45,46,50,51,54}