Skip to content

Commit

Permalink
docs(tutorials/blog): fix grammar and styling (#2256)
Browse files Browse the repository at this point in the history
* Apply sentence case

* Update docs/guide/blog/connect-blockchain.md

Co-authored-by: İlker G. Öztürk <[email protected]>

Co-authored-by: Chris Valle <chris.vallefunnel.iogit config --global user.email [email protected]>
Co-authored-by: İlker G. Öztürk <[email protected]>
  • Loading branch information
3 people authored Apr 14, 2022
1 parent 969f9a5 commit 7ee663f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/guide/blog/connect-blockchain.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
description: Blockchain Client in Go
description: Blockchain client in Go
order: 3
---

# Create a Blockchain Client in Go
# Create a blockchain client in Go

Learn how to connect your blockchain to an independent application with RPC.

After creating the blog blockchain in this tutorial you will learn how to connect to your blockchain from a separate client.

## Use the Blog Blockchain
## Use the blog blockchain

Navigate to a separate directory right next to the `blog` blockchain you built in the [Build a Blog](index.md) tutorial.

## Creating a Blockchain Client
## Creating a blockchain client

Create a new directory called `blogclient` on the same level as `blog` directory. As the name suggests, `blogclient` will contain a standalone Go program that acts as a client to your `blog` blockchain.

Expand Down Expand Up @@ -64,7 +64,7 @@ The `blogclient` will eventually have only two files:
- `main.go` for the main logic of the client
- `go.mod` for specifying dependencies.

### Main Logic of the Client in main.go
### Main logic of the client in `main.go`

Add the following code to your `main.go` file to make a connection to your blockchain from a separate app.

Expand Down Expand Up @@ -138,7 +138,7 @@ Read the comments in the code carefully to learn details about each line of code
To learn more about the `cosmosclient` package, see the Go
[cosmosclient](https://pkg.go.dev/github.com/ignite-hq/cli/ignite/pkg/cosmosclient) package documentation. Details are provided to learn how to use the `Client` type with `Options` and `KeyringBackend`.

## Running the Blockchain and the Client
## Run the blockchain and the client

Make sure your blog blockchain is still running with `ignite chain serve`.

Expand Down

0 comments on commit 7ee663f

Please sign in to comment.