Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Danny <[email protected]>
  • Loading branch information
asikam and salmad3 authored Dec 4, 2023
1 parent 596d01a commit d1eb886
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/versioned_docs/version-v0.27.2/03-clients/01-go-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@ package documentation for
This documentation provides information on how to use the `Client` type with
`Options` and `KeyringBackend`.

## Blockchain and Client app not on the same machine
## Blockchain and Client App Are on Different Machines

If the blockchain and the client app is not on the same machine replace ../blog with the github
repository pointing to your blog github repository:
If the blockchain and the client app are not on the same machine, replace ../blog with the github
repository pointing to your blog GitHub repository:

dependencies for your package

Expand All @@ -232,7 +232,8 @@ and `main.go` file:
// Importing the types package of your blog blockchain
"github.com/<github-user-name>/blog/x/blog/types"
```
then update the dependencies again:

Then, update the dependencies again:

```bash
go mod tidy
Expand All @@ -242,14 +243,14 @@ go mod tidy

***Only for testing***

Create a new directory inside the blog client named keyring-test. Export the blockchains account keys from the user you want to be sign and broadcast the transaction. Import the keys
to the keyring-test dir you just created in root directory of your client app. You can use ignite account import command
Create a new directory inside the blog client named 'keyring-test'. Next, export the blockchain account keys from the user you want to be sign and broadcast the transaction too. After exporting, import the keys
to the 'keyring-test' directory you just created in root directory of your client app. You can use the following `ignite account import` command:

```bash
ignite account import alice --keyring-dir /path/to/client/blogclient/keyring-test
```

define the path inside main.go
Define the path inside 'main.go':

```go title="blogclient/main.go"
.
Expand Down

0 comments on commit d1eb886

Please sign in to comment.