Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hellochain/tutorial/00-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion hellochain/tutorial/01-simple-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down
2 changes: 1 addition & 1 deletion hellochain/tutorial/02-simple-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion hellochain/tutorial/03-make.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ all: install

install: go.sum
go install $(BUILD_FLAGS) ./cmd/hcd
go install $(BUILD_FLAGS) ./cmd/hccli
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do believe this should stay here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The order of the tutorial makes it such that hccli doesn't exist at the point the user make installs this make file - that's why I originally reordered the files, which is now in #185


go.sum: go.mod
@echo "--> Ensure dependencies have not been modified"
Expand Down
2 changes: 1 addition & 1 deletion hellochain/tutorial/06-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions hellochain/tutorial/12-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion hellochain/tutorial/15-full-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}