diff --git a/docs/integrating-wallets/adding-new-wallets.mdx b/docs/integrating-wallets/adding-new-wallets.mdx index 9074ab8c9..b9a326edb 100644 --- a/docs/integrating-wallets/adding-new-wallets.mdx +++ b/docs/integrating-wallets/adding-new-wallets.mdx @@ -8,7 +8,7 @@ 3. Replace `leap` with your wallet name (_with first letter in lowercase_) **globally**; -4. Edit file `client.ts`, `registry.ts`, `types.ts` and `utils.ts`. Replace what is different from Leap with the new wallet specificated methods/properties. +4. Edit file `client.ts`, `registry.ts`, `types.ts` and `utils.ts`. Replace what is different from Leap with the new wallet specified methods/properties. 5. Construct the MainWallet (_class in `main-wallet.ts`_) instance and put it into `ChainProvider` `wallets` property. @@ -22,7 +22,7 @@ 3. Replace `keplr` with your wallet name (_with first letter in lowercase_) **globally**; -4. Edit file `client.ts`, `registry.ts` and `types.ts`. Replace what is different from Keplr with the new wallet specificated methods/properties. For `client.ts`, the main replacement would happen in `getAppUrl` and the `method` parameter of `sendCustomRequest` +4. Edit file `client.ts`, `registry.ts` and `types.ts`. Replace what is different from Keplr with the new wallet specified methods/properties. For `client.ts`, the main replacement would happen in `getAppUrl` and the `method` parameter of `sendCustomRequest` 5. Construct the MainWallet (_class in `main-wallet.ts`_) instance and put it into `ChainProvider` `wallets` property. diff --git a/docs/provider/chain-provider.mdx b/docs/provider/chain-provider.mdx index 67d76311a..5a4a1c456 100644 --- a/docs/provider/chain-provider.mdx +++ b/docs/provider/chain-provider.mdx @@ -261,7 +261,7 @@ There are four levels of `isLazy` setting. 3. Endpoint `isLazy`: `isLazy` in `ExtendedHttpEndpoint` only controls the one in `ExtendedHttpEndpoint` object. For signing or broadcasting a transaction, this one is the lowerst level and with the highest priority. -4. Parameter `isLazy`: `isLazy` in `getRpcEndpoint` and `getRestEndpoint` prarameters. It also globally controls all endpoints. (Note: this one only affects getting endpoint functions with the highest priority, but won't affect signing or broadcasting a transaction.) +4. Parameter `isLazy`: `isLazy` in `getRpcEndpoint` and `getRestEndpoint` parameters. It also globally controls all endpoints. (Note: this one only affects getting endpoint functions with the highest priority, but won't affect signing or broadcasting a transaction.) The calculation of final `isLazy` can be seen [here](https://github.com/hyperweb-io/cosmos-kit/blob/main/packages/core/src/utils/endpoint.ts#L32-L59). diff --git a/packages/docs/pages/integrating-wallets/adding-new-wallets.mdx b/packages/docs/pages/integrating-wallets/adding-new-wallets.mdx index e2e326087..8c88e95d6 100644 --- a/packages/docs/pages/integrating-wallets/adding-new-wallets.mdx +++ b/packages/docs/pages/integrating-wallets/adding-new-wallets.mdx @@ -8,7 +8,7 @@ 3. Replace `leap` with your wallet name (_with first letter in lowercase_) **globally**; -4. Edit file `client.ts`, `registry.ts`, `types.ts` and `utils.ts`. Replace what is different from Leap with the new wallet specificated methods/properties. +4. Edit file `client.ts`, `registry.ts`, `types.ts` and `utils.ts`. Replace what is different from Leap with the new wallet specified methods/properties. 5. Construct the MainWallet (_class in `main-wallet.ts`_) instance and put it into `ChainProvider` `wallets` property. @@ -22,7 +22,7 @@ 3. Replace `keplr` with your wallet name (_with first letter in lowercase_) **globally**; -4. Edit file `client.ts`, `registry.ts` and `types.ts`. Replace what is different from Keplr with the new wallet specificated methods/properties. For `client.ts`, the main replacement would happen in `getAppUrl` and the `method` parameter of `sendCustomRequest` +4. Edit file `client.ts`, `registry.ts` and `types.ts`. Replace what is different from Keplr with the new wallet specified methods/properties. For `client.ts`, the main replacement would happen in `getAppUrl` and the `method` parameter of `sendCustomRequest` 5. Construct the MainWallet (_class in `main-wallet.ts`_) instance and put it into `ChainProvider` `wallets` property.