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(fix): spelling #218

Merged
merged 2 commits into from
Aug 30, 2023
Merged
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ console.log("address: ", address)

```js
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruQueryClient,
NibiruSigningClient,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)
const queryClient = await NibiruQueryClient.connect(TEST_CHAIN.endptTm)

const perpParamsResp = await queryClient.nibiruExtensions.perp.params()
Expand Down Expand Up @@ -122,7 +122,7 @@ const txResp = await signingClient.sendTokens(fromAddr, toAddr, tokens, "auto")
#### Example: Transaction with arbitrary messages

```js
import { IncentivizedTestent, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { IncentivizedTestnet, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { Msg, TxMessage } from "@nibiruchain/nibijs/dist/msg"

const signer = await newSignerFromMnemonic(mnemonic!)
Expand Down
4 changes: 2 additions & 2 deletions examples/01_new-wallet-and-faucet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import {
useFaucet,
WalletHD,
newRandomWallet,
IncentivizedTestent,
IncentivizedTestnet,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)

async function runExample() {
const wallet: WalletHD = await newRandomWallet()
Expand Down
4 changes: 2 additions & 2 deletions examples/02_queries.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruQueryClient,
NibiruSigningClient,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)

async function runExample() {
const queryClient = await NibiruQueryClient.connect(TEST_CHAIN.endptTm)
Expand Down
4 changes: 2 additions & 2 deletions examples/03_messages.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruSigningClient,
newCoin,
} from "@nibiruchain/nibijs"
import { Msg, TxMessage } from "@nibiruchain/nibijs/dist/msg"
import { newSignerFromMnemonic } from "@nibiruchain/nibijs/dist/tx"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)

async function runExample() {
const mnemonic = "..." // fill in the blank
Expand Down
6 changes: 3 additions & 3 deletions packages/nibijs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ console.log("address: ", address)

```js
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruQueryClient,
NibiruSigningClient,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)
const queryClient = await NibiruQueryClient.connect(TEST_CHAIN.endptTm)

const perpParamsResp = await queryClient.nibiruExtensions.perp.params()
Expand Down Expand Up @@ -122,7 +122,7 @@ const txResp = await signingClient.sendTokens(fromAddr, toAddr, tokens, "auto")
#### Example: Transaction with arbitrary messages

```js
import { IncentivizedTestent, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { IncentivizedTestnet, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { Msg, TxMessage } from "@nibiruchain/nibijs/dist/msg"

const signer = await newSignerFromMnemonic(mnemonic!)
Expand Down
6 changes: 3 additions & 3 deletions packages/nibijs/docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ console.log("address: ", address)

```js
import {
IncentivizedTestent,
IncentivizedTestnet,
NibiruQueryClient,
NibiruSigningClient,
} from "@nibiruchain/nibijs"

const TEST_CHAIN = IncentivizedTestent(1)
const TEST_CHAIN = IncentivizedTestnet(1)
const queryClient = await NibiruQueryClient.connect(TEST_CHAIN.endptTm)

const perpParamsResp = await queryClient.nibiruExtensions.perp.params()
Expand Down Expand Up @@ -124,7 +124,7 @@ const txResp = await signingClient.sendTokens(fromAddr, toAddr, tokens, "auto")
#### Example: Transaction with arbitrary messages

```js
import { IncentivizedTestent, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { IncentivizedTestnet, NibiruSigningClient, newCoin } from "@nibiruchain/nibijs"
import { Msg, TxMessage } from "@nibiruchain/nibijs/dist/msg"

const signer = await newSignerFromMnemonic(mnemonic!)
Expand Down
6 changes: 3 additions & 3 deletions packages/nibijs/docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
### Functions

- [Devnet](modules.md#devnet)
- [IncentivizedTestent](modules.md#incentivizedtestent)
- [IncentivizedTestnet](modules.md#IncentivizedTestnet)
- [assert](modules.md#assert)
- [chainToParts](modules.md#chaintoparts)
- [faucetUrlFromChain](modules.md#fauceturlfromchain)
Expand Down Expand Up @@ -252,9 +252,9 @@

---

### IncentivizedTestent
### IncentivizedTestnet

▸ **IncentivizedTestent**(`chainNumber`): [`CustomChain`](classes/CustomChain.md)
▸ **IncentivizedTestnet**(`chainNumber`): [`CustomChain`](classes/CustomChain.md)

#### Parameters

Expand Down
2 changes: 1 addition & 1 deletion packages/nibijs/src/chain/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const Localnet: Chain = {
feeDenom: "unibi",
}

export const IncentivizedTestent = (chainNumber: number) =>
export const IncentivizedTestnet = (chainNumber: number) =>
new CustomChain({
prefix: "nibiru",
shortName: "itn",
Expand Down
2 changes: 1 addition & 1 deletion packages/nibijs/src/test/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
CustomChain,
Devnet,
Event,
IncentivizedTestent,
IncentivizedTestnet,
Localnet,
} from "../chain"

Expand Down