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

chore: fix some comments #768

Open
wants to merge 1 commit into
base: develop
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Note that some library dependencies require `node.js` built-ins. When `iam-clien

**Note:** You can see a full implementation of initializing `iam-client-lib` in the Switchboard application [here](https://github.com/energywebfoundation/switchboard-dapp/blob/develop/src/app/shared/services/iam.service.ts).

Your application will need to initialize the library's modules. Because the library's modules have internal depenencies, modules must be initialized by the application in the correct order:
Your application will need to initialize the library's modules. Because the library's modules have internal dependencies, modules must be initialized by the application in the correct order:

#### 1. Initialize signer service

Expand All @@ -109,7 +109,7 @@ const { signerService, messagingService, connectToCacheServer } =
Depending on the signer type (i.e. MetaMask, WalletConnect), a signature may be requested.

```js
// IAM has builtin default settings for VOLTA CHAIN, which can overriden
// IAM has builtin default settings for VOLTA CHAIN, which can overridden
// 1111 is an example of another ChainID (https://chainlist.org/)
setChainConfig(1111, {
didContractAddress: '0x3e2fb24edc3536d655720280b427c91bcb55f3d6',
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Note that some library dependencies require `node.js` built-ins. When `iam-clien

**Note:** You can see a full implementation of initializing `iam-client-lib` in the Switchboard application [here](https://github.com/energywebfoundation/switchboard-dapp/blob/develop/src/app/shared/services/iam.service.ts).

Your application will need to initialize the library's modules. Because the library's modules have internal depenencies, modules must be initialized by the application in the correct order:
Your application will need to initialize the library's modules. Because the library's modules have internal dependencies, modules must be initialized by the application in the correct order:

#### 1. Initialize signer service

Expand All @@ -109,7 +109,7 @@ const { signerService, messagingService, connectToCacheServer } =
Depending on the signer type (i.e. MetaMask, WalletConnect), a signature may be requested.

```js
// IAM has builtin default settings for VOLTA CHAIN, which can overriden
// IAM has builtin default settings for VOLTA CHAIN, which can overridden
// 1111 is an example of another ChainID (https://chainlist.org/)
setChainConfig(1111, {
didContractAddress: '0x3e2fb24edc3536d655720280b427c91bcb55f3d6',
Expand Down
2 changes: 1 addition & 1 deletion docs/setup/initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const {
2. Connecting to cache server. Depending on signer type signature might be requested

```typescript
// IAM has builtin default settings for VOLTA CHAIN, which can overriden
// IAM has builtin default settings for VOLTA CHAIN, which can overridden
setChainConfig(1111, {
didContractAddress: '0x3e2fb24edc3536d655720280b427c91bcb55f3d6',
ensRegistryAddress: '0xa372d665f83197a63bbe633ebe19c7bfd4943003',
Expand Down