Skip to content

Commit

Permalink
Fix path casing and file names (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Electron authored Jun 22, 2023
1 parent fb88ea1 commit 19ff045
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ You may want to burn some native tokens. To do so, you will need to call the
The following example will:

1. Create a wallet.
2. Get Alice's account which was [created in the first guide](../accounts_and_addresses/create_account.mdx).
3. [Get the account's balance](../accounts_and_addresses/check_balance.mdx).
2. Get Alice's account which was [created in the first guide](../accounts-and-addresses/create-account.mdx).
3. [Get the account's balance](../accounts-and-addresses/check-balance.mdx).
4. Burn 1 native token of the first ID with enough funds.


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords:
import CodeBlock from '@theme/CodeBlock';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import NodejsCode from '!!raw-loader!../../../../../bindings/nodejs/examples/how_tos/native_tokens/decrease_supply.ts';
import NodejsCode from '!!raw-loader!../../../../../bindings/nodejs/examples/how_tos/native_tokens/decrease-supply.ts';
import PythonCode from '!!raw-loader!../../../../../bindings/python/examples/how_tos/native_tokens/decrease_supply.py';
import RustCode from '!!raw-loader!../../../../../sdk/examples/how_tos/native_tokens/decrease_supply.rs';

Expand All @@ -29,7 +29,7 @@ If you melt your native tokens, you can still destroy the foundry that created t
The following example will:

1. Create a wallet.
2. Get Alice's account which was [created in the first guide](../accounts_and_addresses/create_account.mdx).
2. Get Alice's account which was [created in the first guide](../accounts-and-addresses/create-account.mdx).
3. Get the account's balance.
4. Melt 10 native tokens of the first ID.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ keywords:
import CodeBlock from '@theme/CodeBlock';
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import NodejsCode from '!!raw-loader!../../../../../bindings/nodejs/examples/how_tos/native_tokens/destroy_foundry.ts';
import NodejsCode from '!!raw-loader!../../../../../bindings/nodejs/examples/how_tos/native_tokens/destroy-foundry.ts';
import PythonCode from '!!raw-loader!../../../../../bindings/python/examples/how_tos/native_tokens/destroy_foundry.py';
import RustCode from '!!raw-loader!../../../../../sdk/examples/how_tos/native_tokens/destroy_foundry.rs';
import DestroyFoundry from '../../_admonitions/_destroy_foundry.md';
Expand All @@ -31,13 +31,13 @@ destroy a foundry output as long as its circulating

Before you run the example you should make sure the first foundy on your account has zero circulating supply. If you have no available
foundries, you can create one by [minting a native token](mint.mdx). If you've already minted your
tokens but need to empty the foundry, you can decrease your native token supply by [melting them](decrease_supply.mdx).
tokens but need to empty the foundry, you can decrease your native token supply by [melting them](decrease-supply.mdx).

The following example will:

1. Create a wallet.
2. Get Alice's account which was [created in the first guide](../accounts_and_addresses/create_account.mdx).
3. [Get the account's balance](./../accounts_and_addresses/check_balance.mdx) and show the amount of foundries.
2. Get Alice's account which was [created in the first guide](../accounts-and-addresses/create-account.mdx).
3. [Get the account's balance](./../accounts-and-addresses/check-balance.mdx) and show the amount of foundries.
4. Try to destroy the first [foundry](https://wiki.iota.org/shimmer/introduction/explanations/ledger/foundry) output.
5. Get the account's foundry count again to show the difference after step 4.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ keywords:
import CodeBlock from '@theme/CodeBlock';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import NodejsCode from '!!raw-loader!../../../../../bindings/nodejs/examples/how_tos/native_tokens/increase_supply.ts';
import NodejsCode from '!!raw-loader!../../../../../bindings/nodejs/examples/how_tos/native_tokens/increase-supply.ts';
import PythonCode from '!!raw-loader!../../../../../bindings/python/examples/how_tos/native_tokens/increase_supply.py';
import RustCode from '!!raw-loader!../../../../../sdk/examples/how_tos/native_tokens/increase_supply.rs';

Expand All @@ -27,7 +27,7 @@ You may want to increase the circulating native token supply. To do so, you will
The following example will:

1. Create a wallet.
2. Get Alice's account which was [created in the first guide](../accounts_and_addresses/create_account.mdx).
2. Get Alice's account which was [created in the first guide](../accounts-and-addresses/create-account.mdx).
3. Get the account's balance.
4. Mint 10 native tokens of the first ID.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import TabItem from '@theme/TabItem';
import NodejsCode from '!!raw-loader!../../../../../bindings/nodejs/examples/how_tos/native_tokens/mint.ts';
import PythonCode from '!!raw-loader!../../../../../bindings/python/examples/how_tos/native_tokens/mint.py';
import RustCode from '!!raw-loader!../../../../../sdk/examples/how_tos/native_tokens/mint.rs';
import TipFaucet from '../../_admonitions/_tip_faucet.md';
import TipFaucet from '../../_admonitions/_tip-faucet.md';

The stardust update allows you to create your own [native tokens](https://wiki.iota.org/shimmer/introduction/explanations/what_is_stardust/tokenization#native-tokens)
Native tokens are minted by a so-called Foundry. The Foundry allows you to specify a max supply once and change the circulating supply. You can also specify some custom metadata in the foundry output or follow a standard like [IRC30](https://wiki.iota.org/tips/tips/TIP-0030/).
Expand All @@ -32,7 +32,7 @@ To create a Foundry you need an Alias Output which owns it. This Alias Output on
The following example will:

1. Create a wallet.
2. Get Alice's which was [created in the first guide](../accounts_and_addresses/create_a_wallet_account.mdx).
2. Get Alice's which was [created in the first guide](../accounts-and-addresses/create-account.mdx).
3. Create the `MintNativeTokenParams`.
4. Mint the native token by calling the `Account.mint_native_token(params, options)` function.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ claim them.
The following example will:

1. Create an account manager.
2. Get Alice's account which was [created in the first guide](../accounts_and_addresses/create_account.mdx).
2. Get Alice's account which was [created in the first guide](../accounts-and-addresses/create-account.mdx).
3. Define the type of native token and amount to send.
4. Send the native tokens calling the `Account.send_native_tokens(params, options)` function.

Expand Down
12 changes: 6 additions & 6 deletions documentation/sdk/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ module.exports = {
type: "category",
label: 'Native Tokens',
items: [
'how_tos/native_tokens/mint',
'how_tos/native_tokens/decrease_supply',
'how_tos/native_tokens/increase_supply',
'how_tos/native_tokens/send',
'how_tos/native_tokens/burn',
'how_tos/native_tokens/destroy_foundry',
'how-tos/native-tokens/mint',
'how-tos/native-tokens/decrease-supply',
'how-tos/native-tokens/increase-supply',
'how-tos/native-tokens/send',
'how-tos/native-tokens/burn',
'how-tos/native-tokens/destroy-foundry',
]
},
{
Expand Down

0 comments on commit 19ff045

Please sign in to comment.