Skip to content

Commit

Permalink
Merge pull request #798 from moonbeam-foundation/eshaben/fix-typo-viem
Browse files Browse the repository at this point in the history
fix copy/paste mistake
  • Loading branch information
eshaben authored Nov 27, 2023
2 parents 26d6b64 + 46b8404 commit c7450df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builders/build/eth-api/libraries/viem.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ To create a client for reading chain data, you can take the following steps:

### For Writing Chain Data {: #for-writing-chain-data }

To create a client for reading chain data, you can take the following steps:
To create a client for writing chain data, you can take the following steps:

1. Import the `createWalletClient` and `http` functions from `viem`, the `privateKeyToAccount` function for loading your accounts via their private keys, and the network you want to interact with from `viem/chains`. The chain can be any of the following: `moonbeam`, `moonriver`, or `moonbaseAlpha`
2. Create your account using the `privateKeyToAccount` function
Expand Down

0 comments on commit c7450df

Please sign in to comment.