From 7ee663f4e810a98ae8e902b03a363e84ae443469 Mon Sep 17 00:00:00 2001 From: Chris Valle Date: Thu, 14 Apr 2022 10:11:05 +0200 Subject: [PATCH] docs(tutorials/blog): fix grammar and styling (#2256) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Apply sentence case * Update docs/guide/blog/connect-blockchain.md Co-authored-by: İlker G. Öztürk Co-authored-by: Chris Valle Co-authored-by: İlker G. Öztürk --- docs/guide/blog/connect-blockchain.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/guide/blog/connect-blockchain.md b/docs/guide/blog/connect-blockchain.md index 01eeca174b..e43105415e 100644 --- a/docs/guide/blog/connect-blockchain.md +++ b/docs/guide/blog/connect-blockchain.md @@ -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. @@ -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. @@ -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`.