Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tubackkhoa committed Dec 27, 2024
1 parent 7a0e74e commit ae0f9d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ Here are the docs on [creating signers](https://github.com/cosmology-tech/cosmos

### Initializing the Stargate Client

Use `getSigningOraichainClient` to get your `SigningStargateClient`, with the proto/amino messages full-loaded. No need to manually add amino types, just require and initialize the client:
Use `getSigningCosmosClient` to get your `SigningStargateClient`, with the proto/amino messages full-loaded. No need to manually add amino types, just require and initialize the client:

```js
import { getSigningOraichainClient } from "@oraichain/proto";
import { getSigningCosmosClient } from "@oraichain/proto";

const stargateClient = await getSigningOraichainClient({
const stargateClient = await getSigningCosmosClient({
rpcEndpoint,
signer, // OfflineSigner
});
Expand Down

0 comments on commit ae0f9d2

Please sign in to comment.