Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in documentation and name-service.ts #543

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docs/pages/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Before all, we need to clarify that there are two types of entities in CosmosKit

### WalletManager

`WalletManager` is the entrance of the whole code and it manages all `WalletRepo`, `MainWalletBase`, `ChainWalletBase` instances in it. It also corresponds to `ChainProvider` in `@cosmos-kit/react-lite` and `@cosmos-kit/react`. You can find that the properties of JSX element `ChainProvider` are almost the same with the constructor arguments of `WalletManager`. All necesssary chain information and wallet information from `ChainProvider` will be passed to corresponding wallet classes via `WalletManager`.
`WalletManager` is the entrance of the whole code and it manages all `WalletRepo`, `MainWalletBase`, `ChainWalletBase` instances in it. It also corresponds to `ChainProvider` in `@cosmos-kit/react-lite` and `@cosmos-kit/react`. You can find that the properties of JSX element `ChainProvider` are almost the same with the constructor arguments of `WalletManager`. All necessary chain information and wallet information from `ChainProvider` will be passed to corresponding wallet classes via `WalletManager`.

Three important properties/arguments in `ChainProvider`/`WalletManager` are `chains`, `assetLists` and `wallets`. `chains` and `assetLists` provide chain information, and `wallets` provides wallet information. Actually `wallets` is an array of `MainWalletBase` instances. Here leads to the second class `MainWalletBase`.

Expand Down
4 changes: 2 additions & 2 deletions packages/ins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## Basic Usage

### Resovle INS names
### Resolve INS names

### Resovle an address on a particular nameservice
### Resolve an address on a particular nameservice

### Working with only a single nameservice

Expand Down
2 changes: 1 addition & 1 deletion packages/ins/src/name-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const parseINSName = (name: string): ParsedInsName => {
};

/**
* This class is used to resolve names and addresses accross the Interchain Name System.
* This class is used to resolve names and addresses across the Interchain Name System.
*
* @Module INS
*/
Expand Down