From ae0f9d2e7893db152d161c48ee9570effb6689be Mon Sep 17 00:00:00 2001 From: Pham Tu Date: Fri, 27 Dec 2024 14:18:52 +0700 Subject: [PATCH] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c718ce9..c7a22b1 100644 --- a/README.md +++ b/README.md @@ -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 });