diff --git a/README.md b/README.md index 02346bbd..45b261ed 100644 --- a/README.md +++ b/README.md @@ -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() @@ -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!) diff --git a/examples/01_new-wallet-and-faucet.ts b/examples/01_new-wallet-and-faucet.ts index 11c0b610..dbe0c927 100644 --- a/examples/01_new-wallet-and-faucet.ts +++ b/examples/01_new-wallet-and-faucet.ts @@ -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() diff --git a/examples/02_queries.ts b/examples/02_queries.ts index dc18471e..dc2b10c4 100644 --- a/examples/02_queries.ts +++ b/examples/02_queries.ts @@ -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) diff --git a/examples/03_messages.ts b/examples/03_messages.ts index 887a5a17..20ec3276 100644 --- a/examples/03_messages.ts +++ b/examples/03_messages.ts @@ -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 diff --git a/packages/nibijs/README.md b/packages/nibijs/README.md index 02346bbd..45b261ed 100644 --- a/packages/nibijs/README.md +++ b/packages/nibijs/README.md @@ -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() @@ -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!) diff --git a/packages/nibijs/docs/intro.md b/packages/nibijs/docs/intro.md index ffd5ebcc..726e8b11 100644 --- a/packages/nibijs/docs/intro.md +++ b/packages/nibijs/docs/intro.md @@ -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() @@ -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!) diff --git a/packages/nibijs/docs/modules.md b/packages/nibijs/docs/modules.md index 89e3ca86..fa9bf006 100644 --- a/packages/nibijs/docs/modules.md +++ b/packages/nibijs/docs/modules.md @@ -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) @@ -252,9 +252,9 @@ --- -### IncentivizedTestent +### IncentivizedTestnet -▸ **IncentivizedTestent**(`chainNumber`): [`CustomChain`](classes/CustomChain.md) +▸ **IncentivizedTestnet**(`chainNumber`): [`CustomChain`](classes/CustomChain.md) #### Parameters diff --git a/packages/nibijs/src/chain/chain.ts b/packages/nibijs/src/chain/chain.ts index 6e063ecf..f4850560 100644 --- a/packages/nibijs/src/chain/chain.ts +++ b/packages/nibijs/src/chain/chain.ts @@ -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", diff --git a/packages/nibijs/src/test/helpers.ts b/packages/nibijs/src/test/helpers.ts index b2f83c28..8e5b5bc5 100644 --- a/packages/nibijs/src/test/helpers.ts +++ b/packages/nibijs/src/test/helpers.ts @@ -4,7 +4,7 @@ import { CustomChain, Devnet, Event, - IncentivizedTestent, + IncentivizedTestnet, Localnet, } from "../chain"