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(docs): Fix typo in hello iota faucet example #4032

Merged
merged 1 commit into from
Nov 14, 2024
Merged
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 docs/content/references/ts-sdk/typescript/hello-iota.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Create a new `index.js` file in the root of your project with the following code

```js
import { getFullnodeUrl, IotaClient } from '@iota/iota-sdk/client';
import { getFaucetHost, requestIotaFromFaucetv1 } from '@iota/iota-sdk/faucet';
import { getFaucetHost, requestIotaFromFaucetV1 } from '@iota/iota-sdk/faucet';
import { NANOS_PER_IOTA } from '@iota/iota-sdk/utils';

// replace <YOUR_IOTA_ADDRESS> with your actual address, which is in the form 0x123...
Expand All @@ -72,7 +72,7 @@ const iotaBefore = await iotaClient.getBalance({
owner: MY_ADDRESS,
});

await requestIotaFromFaucetv1({
await requestIotaFromFaucetV1({
// use getFaucetHost to make sure you're using correct faucet address
// you can also just use the address (see IOTA TypeScript SDK Quick Start for values)
host: getFaucetHost('devnet'),
Expand Down
Loading