From 28a132a5e6e98369b762c11447ad790f071a8844 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon Date: Tue, 21 May 2024 16:16:28 -0500 Subject: [PATCH 1/3] Move cycles wallet and ledger docs to Digital Assets category --- docs/concepts/tokens-cycles.mdx | 4 +- .../daos/sns/managing/sns-asset-canister.mdx | 2 +- .../asset-custody/self-custody-quickstart.mdx | 2 +- .../converting_icp_tokens_into_cycles.mdx | 2 +- .../cycles/cycles-ledger.mdx | 0 .../cycles/cycles-wallet.mdx | 0 .../defi/icrc-1/icrc1-ledger-setup.mdx | 2 +- .../defi/icrc-1/token-quickstart.mdx | 2 +- .../cli-tools/advanced-dfx/networks-json.mdx | 6 +-- docs/developer-docs/gas-cost.mdx | 4 +- .../getting-started/cycles/cycles-faucet.mdx | 46 +++++++++++-------- .../getting-started/cycles/overview.mdx | 38 +++++++++++++++ .../getting-started/deploy/mainnet.mdx | 2 +- .../level-1/1.4-using-cycles.mdx | 6 +-- plugins/utils/redirects.js | 14 +++--- sidebars.js | 13 ++++-- 16 files changed, 97 insertions(+), 46 deletions(-) rename docs/developer-docs/{getting-started => defi}/cycles/converting_icp_tokens_into_cycles.mdx (96%) rename docs/developer-docs/{getting-started => defi}/cycles/cycles-ledger.mdx (100%) rename docs/developer-docs/{getting-started => defi}/cycles/cycles-wallet.mdx (100%) create mode 100644 docs/developer-docs/getting-started/cycles/overview.mdx diff --git a/docs/concepts/tokens-cycles.mdx b/docs/concepts/tokens-cycles.mdx index e4b2add094..b69468f7ed 100644 --- a/docs/concepts/tokens-cycles.mdx +++ b/docs/concepts/tokens-cycles.mdx @@ -8,7 +8,7 @@ import { MarkdownChipRow } from "/src/components/Chip/MarkdownChipRow"; -## Overview +## Overview Internet Computer Protocol tokens (ICP tokens) are a native utility token with a value determined on the open market. ICP tokens play a key role in both the governance and the economics of the Internet Computer. ## How to get ICP tokens @@ -44,7 +44,7 @@ For developers, ICP tokens are important because they can be converted to cycles Canister smart contracts must be able to pay for complete execution (all or nothing), but the platform sets limits on how many cycles a canister can hold and consume to prevent malicious code from draining resources. -To learn more about cycles and how to use them, see [here](/docs/current/developer-docs/getting-started/cycles/converting_icp_tokens_into_cycles). +To learn more about cycles and how to use them, see [here](/docs/current/developer-docs/defi/cycles/converting_icp_tokens_into_cycles). For more information on cycles costs, see the tables in [computation and storage costs](/docs/current/developer-docs/gas-cost). diff --git a/docs/developer-docs/daos/sns/managing/sns-asset-canister.mdx b/docs/developer-docs/daos/sns/managing/sns-asset-canister.mdx index 268411cf66..a31d914da9 100644 --- a/docs/developer-docs/daos/sns/managing/sns-asset-canister.mdx +++ b/docs/developer-docs/daos/sns/managing/sns-asset-canister.mdx @@ -59,7 +59,7 @@ dfx deploy assets --network "local" ### Deploying on the mainnet :::info -To deploy to the mainnet, you will need a wallet that contains cycles. For more information on cycles wallets, please see [here](/docs/current/developer-docs/getting-started/cycles/cycles-wallet). +To deploy to the mainnet, you will need a wallet that contains cycles. For more information on cycles wallets, please see [here](/docs/current/developer-docs/defi/cycles/cycles-wallet). ::: To deploy your asset canister to the mainnet, the following command can be used: diff --git a/docs/developer-docs/defi/asset-custody/self-custody-quickstart.mdx b/docs/developer-docs/defi/asset-custody/self-custody-quickstart.mdx index 2b76d95a3b..9b36ba5dc7 100644 --- a/docs/developer-docs/defi/asset-custody/self-custody-quickstart.mdx +++ b/docs/developer-docs/defi/asset-custody/self-custody-quickstart.mdx @@ -150,7 +150,7 @@ dfx cycles convert AMOUNT --network ic ``` :::info -This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/getting-started/cycles/cycles-wallet). +This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/defi/cycles/cycles-wallet). Please note that the cycles wallet will be removed from dfx in a future release. ::: diff --git a/docs/developer-docs/getting-started/cycles/converting_icp_tokens_into_cycles.mdx b/docs/developer-docs/defi/cycles/converting_icp_tokens_into_cycles.mdx similarity index 96% rename from docs/developer-docs/getting-started/cycles/converting_icp_tokens_into_cycles.mdx rename to docs/developer-docs/defi/cycles/converting_icp_tokens_into_cycles.mdx index fb336535b0..c09ed5b771 100644 --- a/docs/developer-docs/getting-started/cycles/converting_icp_tokens_into_cycles.mdx +++ b/docs/developer-docs/defi/cycles/converting_icp_tokens_into_cycles.mdx @@ -61,7 +61,7 @@ dfx cycles convert AMOUNT --network ic ``` :::info -This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/getting-started/cycles/cycles-wallet). +This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/defi/cycles/cycles-wallet). Please note that the cycles wallet will be removed from dfx in a future release. ::: diff --git a/docs/developer-docs/getting-started/cycles/cycles-ledger.mdx b/docs/developer-docs/defi/cycles/cycles-ledger.mdx similarity index 100% rename from docs/developer-docs/getting-started/cycles/cycles-ledger.mdx rename to docs/developer-docs/defi/cycles/cycles-ledger.mdx diff --git a/docs/developer-docs/getting-started/cycles/cycles-wallet.mdx b/docs/developer-docs/defi/cycles/cycles-wallet.mdx similarity index 100% rename from docs/developer-docs/getting-started/cycles/cycles-wallet.mdx rename to docs/developer-docs/defi/cycles/cycles-wallet.mdx diff --git a/docs/developer-docs/defi/icrc-1/icrc1-ledger-setup.mdx b/docs/developer-docs/defi/icrc-1/icrc1-ledger-setup.mdx index 75c5371a15..b966bdded1 100644 --- a/docs/developer-docs/defi/icrc-1/icrc1-ledger-setup.mdx +++ b/docs/developer-docs/defi/icrc-1/icrc1-ledger-setup.mdx @@ -150,7 +150,7 @@ Check the set variables: For each variable, the exported environment variable will be used unless otherwise specified: - The `PRE_MINTED_TOKENS` is amount of tokens that are minted during deployment for a specific account (In this tutorial it will be the `DEFAULT` account). - The `TRANSFER_FEE` is the transfer fee that users of the ledger will have to pay anytime they want to make a transfer. -- The `ARCHIVE_CONTROLLER` is the [controller principal](/docs/current/developer-docs/getting-started/cycles/cycles-wallet#controller-and-custodian-roles) of the archive canisters. +- The `ARCHIVE_CONTROLLER` is the [controller principal](/docs/current/developer-docs/defi/cycles/cycles-wallet#controller-and-custodian-roles) of the archive canisters. - The `TRIGGER_THRESHOLD` is the number of blocks to archive when the trigger threshold is exceeded. - The `CYCLE_FOR_ARCHIVE_CREATION` is the amount of cycles that will be sent to the archive canister when it is created. - The `NUM_OF_BLOCK_TO_ARCHIVE` is the number of blocks that will be archived. diff --git a/docs/developer-docs/defi/icrc-1/token-quickstart.mdx b/docs/developer-docs/defi/icrc-1/token-quickstart.mdx index e4ed2442be..6bd2b09eb0 100644 --- a/docs/developer-docs/defi/icrc-1/token-quickstart.mdx +++ b/docs/developer-docs/defi/icrc-1/token-quickstart.mdx @@ -74,7 +74,7 @@ To create a token, you will need to export several environmental variables. The ``` - The `PRE_MINTED_TOKENS` is amount of tokens that are minted during deployment for a specific account (In this tutorial it will be the `DEFAULT` account). - The `TRANSFER_FEE` is the transfer fee that users of the ledger will have to pay anytime they want to make a transfer. -- The `ARCHIVE_CONTROLLER` is the [controller principal](/docs/current/developer-docs/getting-started/cycles/cycles-wallet#controller-and-custodian-roles) of the archive canisters. +- The `ARCHIVE_CONTROLLER` is the [controller principal](/docs/current/developer-docs/defi/cycles/cycles-wallet#controller-and-custodian-roles) of the archive canisters. - The `TRIGGER_THRESHOLD` is the number of blocks to archive when the trigger threshold is exceeded. - The `CYCLE_FOR_ARCHIVE_CREATION` is the amount of cycles that will be sent to the archive canister when it is created. - The `NUM_OF_BLOCK_TO_ARCHIVE` is the number of blocks that will be archived. diff --git a/docs/developer-docs/developer-tools/cli-tools/advanced-dfx/networks-json.mdx b/docs/developer-docs/developer-tools/cli-tools/advanced-dfx/networks-json.mdx index 5ef983d4f4..adcb3bd3fe 100644 --- a/docs/developer-docs/developer-tools/cli-tools/advanced-dfx/networks-json.mdx +++ b/docs/developer-docs/developer-tools/cli-tools/advanced-dfx/networks-json.mdx @@ -10,7 +10,7 @@ import { MarkdownChipRow } from "/src/components/Chip/MarkdownChipRow"; ## Overview -When developing multiple projects simultaneously, it can be beneficial to deploy each project to a different local network for simplicity or to support different development workflows. Custom networks can be configured with `dfx` at both the system-wide and project-specific levels. +When developing multiple projects simultaneously, it can be beneficial to deploy each project to a different local network for simplicity or to support different development workflows. Custom networks can be configured with `dfx` at both the system-wide and project-specific levels. ## Defining system-wide networks in `networks.json` @@ -42,7 +42,7 @@ By default, this file contains the following configuration: } ``` -Alternatively, if a `network.json` file is not defined locally, `dfx` will by default use the above configuration. +Alternatively, if a `network.json` file is not defined locally, `dfx` will by default use the above configuration. ### Defining a custom network @@ -123,7 +123,7 @@ To define a project-specific network, add a "networks" section to your `dfx.json } ``` -If you are using a [cycles wallet](/docs/current/developer-docs/getting-started/cycles/cycles-wallet), be sure to deploy your cycles wallet to this custom network. +If you are using a [cycles wallet](/docs/current/developer-docs/defi/cycles/cycles-wallet), be sure to deploy your cycles wallet to this custom network. ``` dfx identity --network dev set-wallet $(dfx identity --network ic get-wallet) diff --git a/docs/developer-docs/gas-cost.mdx b/docs/developer-docs/gas-cost.mdx index ecb6c7103f..0bf5b7bcba 100644 --- a/docs/developer-docs/gas-cost.mdx +++ b/docs/developer-docs/gas-cost.mdx @@ -68,7 +68,7 @@ You can learn more about the [reverse gas model](https://internetcomputer.org/ca One downside of the ICP reverse gas model is that it requires prerequisite steps and ongoing maintenance for developers. Canisters must have their cycles balances maintained and regularly topped up as they continuously use resources. The canister will be removed from the network if it runs out of cycles. However, a [freezing threshold](/docs/current/tutorials/developer-journey/level-1/1.6-managing-canisters#setting-the-canisters-freezing-threshold) can be set that pauses a canister's executions if the cycles amount is expected to fall below a certain amount. There are several community tools that have been developed to automate managing a canister's cycles, such as [CycleOps](https://cycleops.dev/). -Learn how to query a [canister's cycles balance](/docs/current/tutorials/developer-journey/level-1/1.6-managing-canisters#checking-the-cycles-balance-of-a-canister). +Learn how to query a [canister's cycles balance](/docs/current/tutorials/developer-journey/level-1/1.6-managing-canisters#checking-the-cycles-balance-of-a-canister). Learn how to [top up a canister](/docs/current/tutorials/developer-journey/level-1/1.6-managing-canisters#topping-up-a-canisters-cycles-balance). @@ -184,7 +184,7 @@ The following table shows the calculated storage cost per GiB for a 30-day month Monitoring cycles usage - - [Check your canister's cycles balance](/docs/current/developer-docs/getting-started/cycles/cycles-wallet#check-the-cycle-balance). + - [Check your canister's cycles balance](/docs/current/developer-docs/defi/cycles/cycles-wallet#check-the-cycle-balance). - [Monitor your canister's cycles usage](/docs/current/developer-docs/getting-started/cycles/cycles_management_services). - [Motoko cycles management library](https://github.com/CycleOperators/cycles-manager). diff --git a/docs/developer-docs/getting-started/cycles/cycles-faucet.mdx b/docs/developer-docs/getting-started/cycles/cycles-faucet.mdx index ce00d8715d..0ed17ed546 100644 --- a/docs/developer-docs/getting-started/cycles/cycles-faucet.mdx +++ b/docs/developer-docs/getting-started/cycles/cycles-faucet.mdx @@ -9,24 +9,15 @@ import { GlossaryTooltip } from "/src/components/Tooltip/GlossaryTooltip"; -## What are ICP cycles? -The Internet Computer Protocol runs on a network of nodes owned and operated by a growing community of independent node providers (NPs) distributed across the globe. NPs spend money for running nodes, e.g. they purchase hardware and require electricity and network bandwidth. The Internet Computer Protocol compensates NPs on a monthly basis by minting and distributing rewards in the form of ICP tokens. +## Overview -To make ICP sustainable, canisters are required to pay for the resources they consume, e.g. storage and compute. Resource consumption is not paid in ICP tokens but **cycles**. It’s typically the canister’s developer who charges the canister with cycles. As the canister is used, its cycles balance is continuously reduced. Eventually, the canister needs to be “topped up” with more cycles. The default way to get cycles is to convert ICP tokens to cycles. When doing so, the protocol burns the ICP tokens. +To deploy a canisters onto the ICP mainnet, you must have cycles. Cycles are used to pay for the resources that a canister uses. -## Why are cycles different from ICP tokens? - -While the value of an ICP token is volatile, cycles are not. They are pegged to [XDR](https://en.wikipedia.org/wiki/Special_drawing_rights), a basket of fiat currencies. This has the benefit that resource consumption, e.g. smart contract executions, on ICP has a somewhat stable price. - -:::info -Cycles are measured in very large numbers, such as billions and trillions. When you talk about cycle transfers and replenishment, you will usually operate with trillions of cycles. -::: - -This guide explains how to use **cycles faucet** to acquire your first amount of 10T free cycles that could be used to deploy your dapps on the mainnet. +This guide explains how to use the **cycles faucet** to acquire 10T free cycles that can be used to deploy your dapps on the mainnet. ## Prerequisites -- [x] Install Internet Computer SDK following [this guide](/docs/current/developer-docs/getting-started/install/). +- [x] Install the [Internet Computer SDK](/docs/current/developer-docs/getting-started/install/). ## Step 1: Get a coupon. @@ -40,7 +31,9 @@ First, you will need to navigate to [https://faucet.dfinity.org](https://faucet. ## Step 3: In this channel, execute the following slash command: -> /request +``` +/request +``` ## Step 4: After you send this message, you are prompted to fill out a survey. @@ -66,11 +59,15 @@ Click **NEXT STEP** to continue. Next, confirm your computer has `dfx` installed. Run this command to check the version of `dfx` on your computer: - dfx --version +``` +dfx --version +``` If your `dfx` version is below 0.12.0, please run this command: - dfx upgrade +``` +dfx upgrade +``` ![Setup SDK](_attachments/faucet_step_4.png) @@ -94,7 +91,7 @@ dfx identity use MyNewIdentity ## Step 10: Now, claim your cycles. -This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/getting-started/cycles/cycles-wallet). +This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/defi/cycles/cycles-wallet). To use the cycles ledger, you will need [`dfx` version 0.19.0](/docs/current/developer-docs/getting-started/install/), and you will need to set the following environmental variable: @@ -123,9 +120,18 @@ The last step is to verify the coupon was redeemed correctly by checking your ba Now you are ready to deploy a canister on the mainnet! ## Resources + To further explore cycle management please see the following articles: -- **[Using a cycles wallet](/docs/current/developer-docs/getting-started/cycles/cycles-wallet)**. -- **[Getting free cycles from DFINITY cycles faucet](/docs/current/developer-docs/getting-started/cycles/cycles-faucet)**. -- **[Converting ICP tokens into cycles](/docs/current/developer-docs/getting-started/cycles/converting_icp_tokens_into_cycles)**. +- [Using a cycles wallet](/docs/current/developer-docs/defi/cycles/cycles-wallet). + +- [Using the cycles ledger](/docs/current/developer-docs/defi/cycles/cycles-ledger). + +- [Cost of resources in cycles](/docs/current/developer-docs/gas-cost). + +- [Converting ICP tokens into cycles](/docs/current/developer-docs/defi/cycles/converting_icp_tokens_into_cycles). + + +## Next steps +- [Review the default project template](/docs/current/developer-docs/getting-started/default-template). \ No newline at end of file diff --git a/docs/developer-docs/getting-started/cycles/overview.mdx b/docs/developer-docs/getting-started/cycles/overview.mdx new file mode 100644 index 0000000000..0a34853cb5 --- /dev/null +++ b/docs/developer-docs/getting-started/cycles/overview.mdx @@ -0,0 +1,38 @@ +--- +keywords: [beginner, tutorial, cycles, free cycles, cycles coupon] +--- + +import { MarkdownChipRow } from "/src/components/Chip/MarkdownChipRow"; +import { GlossaryTooltip } from "/src/components/Tooltip/GlossaryTooltip"; + +# Getting started with free cycles + + + +## What are ICP cycles? +The Internet Computer Protocol runs on a network of nodes owned and operated by a growing community of independent node providers (NPs) distributed across the globe. NPs spend money for running nodes, e.g. they purchase hardware and require electricity and network bandwidth. The Internet Computer Protocol compensates NPs on a monthly basis by minting and distributing rewards in the form of ICP tokens. + +To make ICP sustainable, canisters are required to pay for the resources they consume, e.g. storage and compute. Resource consumption is not paid in ICP tokens but **cycles**. It’s typically the canister’s developer who charges the canister with cycles. As the canister is used, its cycles balance is continuously reduced. Eventually, the canister needs to be “topped up” with more cycles. The default way to get cycles is to convert ICP tokens to cycles. When doing so, the protocol burns the ICP tokens. + +## Why are cycles different from ICP tokens? + +While the value of an ICP token is volatile, cycles are not. They are pegged to [XDR](https://en.wikipedia.org/wiki/Special_drawing_rights), a basket of fiat currencies. This has the benefit that resource consumption, e.g. smart contract executions, on ICP has a somewhat stable price. + +:::info +Cycles are measured in very large numbers, such as billions and trillions. When you talk about cycle transfers and replenishment, you will usually operate with trillions of cycles. +::: + +## Next steps + +- [Obtaining free cycles from the cycles faucet](/docs/current/developer-docs/getting-started/cycles/cycles-faucet). + +- [Converting ICP tokens into cycles](/docs/current/developer-docs/defi/cycles/converting_icp_tokens_into_cycles). + +- [Using a cycles wallet](/docs/current/developer-docs/defi/cycles/cycles-wallet). + +- [Using the cycles ledger](/docs/current/developer-docs/defi/cycles/cycles-ledger). + +- [Cost of resources in cycles](/docs/current/developer-docs/gas-cost). + + + diff --git a/docs/developer-docs/getting-started/deploy/mainnet.mdx b/docs/developer-docs/getting-started/deploy/mainnet.mdx index 2380db8086..eea413740e 100644 --- a/docs/developer-docs/getting-started/deploy/mainnet.mdx +++ b/docs/developer-docs/getting-started/deploy/mainnet.mdx @@ -29,7 +29,7 @@ Before you download and install this release of the IC SDK, verify the following :::info You must have **cycles** available to complete this guide. To get cycles, you must either convert ICP tokens to cycles or be provided cycles from another source, for example, from a canister controlled by another developer or from a third-party cycles provider. This guide assumes that you have an account with ICP tokens available and illustrates how to convert ICP tokens into cycles. -For information about how to get ICP tokens, see [how you can get ICP tokens](/docs/current/developer-docs/getting-started/cycles/converting_icp_tokens_into_cycles). +For information about how to get ICP tokens, see [how you can get ICP tokens](/docs/current/developer-docs/defi/cycles/converting_icp_tokens_into_cycles). For an introduction to using the Network Nervous System application to manage ICP tokens, see [Network Nervous System dapp quick start](/docs/current/developer-docs/daos/nns/nns-app-quickstart). ::: diff --git a/docs/tutorials/developer-journey/level-1/1.4-using-cycles.mdx b/docs/tutorials/developer-journey/level-1/1.4-using-cycles.mdx index 91df7ca3fa..5edf981d4f 100644 --- a/docs/tutorials/developer-journey/level-1/1.4-using-cycles.mdx +++ b/docs/tutorials/developer-journey/level-1/1.4-using-cycles.mdx @@ -141,7 +141,7 @@ dfx start --clean --background dfx identity use DevJourney ``` -This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/getting-started/cycles/cycles-wallet). +This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/defi/cycles/cycles-wallet). To use the cycles ledger, you will need [`dfx` version 0.19.0](/docs/current/developer-docs/getting-started/install/), and you will need to set the following environmental variable: @@ -202,7 +202,7 @@ dfx cycles convert AMOUNT --network ic ``` :::info -This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/getting-started/cycles/cycles-wallet). +This workflow utilizes the **cycles ledger** feature. If you'd like to use the **cycles wallet** instead, [view the cycles wallet documentation](/docs/current/developer-docs/defi/cycles/cycles-wallet). Please note that the cycles wallet will be removed from dfx in a future release. ::: @@ -224,7 +224,7 @@ This should return your balance in cycles: ## Resources To further explore cycle management please see the following articles: - **[Getting free cycles from DFINITY cycles faucet](/docs/current/developer-docs/getting-started/cycles/cycles-faucet)**. -- **[Converting ICP tokens into cycles](/docs/current/developer-docs/getting-started/cycles/converting_icp_tokens_into_cycles)**. +- **[Converting ICP tokens into cycles](/docs/current/developer-docs/defi/cycles/converting_icp_tokens_into_cycles)**. ## Need help? diff --git a/plugins/utils/redirects.js b/plugins/utils/redirects.js index d52e096957..2cac66c643 100644 --- a/plugins/utils/redirects.js +++ b/plugins/utils/redirects.js @@ -40,7 +40,7 @@ const redirects = ` /docs/samples/codelabs/static-website /samples /docs/samples/* /samples /docs/security-best-practices/introduction /docs/current/developer-docs/security/general-security-best-practices - /docs/current/developer-docs/setup/default-wallet /docs/current/developer-docs/getting-started/cycles/cycles-wallet + /docs/current/developer-docs/setup/default-wallet /docs/current/developer-docs/defi/cycles/cycles-wallet /docs/current/tokenomics/sns/tokenomics /docs/current/developer-docs/daos/sns/tokenomics/ /docs/current/developer-docs/integrations/http_requests/http_requests-how-it-works /docs/current/references/https-outcalls-how-it-works /docs/current/developer-docs/daos/sns/tokenomics/sns-intro-tokens /docs/current/developer-docs/daos/sns/tokenomics/ @@ -75,7 +75,7 @@ const redirects = ` /docs/current/developer-docs/build/frontend/webpack-config /docs/current/developer-docs/web-apps/application-frontends/overview#modifying-the-webpack-configuration /docs/current/developer-docs/build/install-upgrade-remove /docs/current/developer-docs/getting-started/install/ /docs/current/developer-docs/build/languages/rust/* /docs/current/developer-docs/backend/rust/ - /docs/current/developer-docs/build/project-setup/cycles-wallet /docs/current/developer-docs/getting-started/cycles/cycles-wallet + /docs/current/developer-docs/build/project-setup/cycles-wallet /docs/current/developer-docs/defi/cycles/cycles-wallet /docs/current/developer-docs/build/project-setup/manage-canisters /docs/current/developer-docs/smart-contracts/maintain/settings /docs/current/developer-docs/build/project-setup/design-dapps /docs/current/developer-docs/web-apps/design-dapps /docs/current/developer-docs/build/troubleshooting /docs/current/developer-docs/smart-contracts/test/troubleshooting @@ -93,7 +93,7 @@ const redirects = ` /docs/developers-guide/concepts/bitcoin-integration /bitcoin-integration /docs/developers-guide/concepts/concepts-intro /docs/current/developer-docs/getting-started/overview-of-icp /docs/developers-guide/customize-projects /docs/current/developer-docs/smart-contracts/compile - /docs/developers-guide/default-wallet /docs/current/developer-docs/getting-started/cycles/cycles-wallet + /docs/developers-guide/default-wallet /docs/current/developer-docs/defi/cycles/cycles-wallet /docs/developers-guide/design-apps /docs/current/developer-docs/web-apps/design-dapps /docs/developers-guide/glossary /docs/current/concepts/glossary /docs/developers-guide/install-upgrade-remove /docs/current/developer-docs/getting-started/install/ @@ -183,8 +183,8 @@ const redirects = ` /docs/current/developer-docs/frontend/react-frontend /docs/current/developer-docs/web-apps/application-frontends/overview /docs/current/developer-docs/frontend/svelte-frontend /docs/current/developer-docs/web-apps/application-frontends/overview /docs/current/developer-docs/frontend/vue-frontend /docs/current/developer-docs/web-apps/application-frontends/overview - /docs/current/developer-docs/setup/cycles/index /docs/current/developer-docs/getting-started/cycles/cycles-wallet - /docs/current/developer-docs/setup/cycles /docs/current/developer-docs/getting-started/cycles/cycles-wallet + /docs/current/developer-docs/setup/cycles/index /docs/current/developer-docs/defi/cycles/cycles-wallet + /docs/current/developer-docs/setup/cycles /docs/current/developer-docs/defi/cycles/cycles-wallet /docs/current/concepts/index /docs/current/developer-docs/getting-started/overview-of-icp /docs/current/concepts /docs/current/developer-docs/getting-started/overview-of-icp /docs/current/developer-docs/backend/candid/index /docs/current/developer-docs/smart-contracts/candid/candid-concepts @@ -211,8 +211,8 @@ const redirects = ` /docs/current/developer-docs/setup/install/ /docs/current/developer-docs/getting-started/install/ /docs/current/developer-docs/setup/accounts /docs/current/developer-docs/getting-started/accounts /docs/current/developer-docs/setup/cycles/cycles-faucet /docs/current/developer-docs/getting-started/cycles/cycles-faucet - /docs/current/developer-docs/setup/cycles/cycles-wallet /docs/current/developer-docs/getting-started/cycles/cycles-wallet - /docs/current/developer-docs/setup/cycles/converting_icp_tokens_into_cycles /docs/current/developer-docs/getting-started/cycles/converting_icp_tokens_into_cycles + /docs/current/developer-docs/setup/cycles/cycles-wallet /docs/current/developer-docs/defi/cycles/cycles-wallet + /docs/current/developer-docs/setup/cycles/converting_icp_tokens_into_cycles /docs/current/developer-docs/defi/cycles/converting_icp_tokens_into_cycles /docs/current/developer-docs/setup/first-canister /docs/current/developer-docs/getting-started/default-template /docs/current/developer-docs/setup/deploy-locally /docs/current/developer-docs/getting-started/deploy/local /docs/current/developer-docs/setup/deploy-mainnet /docs/current/developer-docs/getting-started/deploy/mainnet diff --git a/sidebars.js b/sidebars.js index 5478e1f56a..1862523491 100644 --- a/sidebars.js +++ b/sidebars.js @@ -36,10 +36,8 @@ const sidebars = { type: "category", label: "Cycles", items: [ + "developer-docs/getting-started/cycles/overview", "developer-docs/getting-started/cycles/cycles-faucet", - "developer-docs/getting-started/cycles/cycles-ledger", - "developer-docs/getting-started/cycles/cycles-wallet", - "developer-docs/getting-started/cycles/converting_icp_tokens_into_cycles", ], }, { @@ -614,6 +612,15 @@ const sidebars = { label: "Overview", id: "developer-docs/defi/overview", }, + { + type: "category", + label: "Cycles", + items: [ + "developer-docs/defi/cycles/cycles-ledger", + "developer-docs/defi/cycles/cycles-wallet", + "developer-docs/defi/cycles/converting_icp_tokens_into_cycles", + ] + }, { type: "category", label: "ICP tokens", From a7491644c3d2e87863464433f391bfa8b024c5b6 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Wed, 22 May 2024 11:44:53 -0500 Subject: [PATCH 2/3] Update eth-dev-workflow.mdx --- .../multi-chain/ethereum/using-eth/eth-dev-workflow.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/multi-chain/ethereum/using-eth/eth-dev-workflow.mdx b/docs/developer-docs/multi-chain/ethereum/using-eth/eth-dev-workflow.mdx index 71350ddd74..029cee9752 100644 --- a/docs/developer-docs/multi-chain/ethereum/using-eth/eth-dev-workflow.mdx +++ b/docs/developer-docs/multi-chain/ethereum/using-eth/eth-dev-workflow.mdx @@ -5,7 +5,7 @@ keywords: [advanced, ethereum, addresses, eth address ] import useBaseUrl from "@docusaurus/useBaseUrl"; import { MarkdownChipRow } from "/src/components/Chip/MarkdownChipRow"; -# Generating addresses +# ICP ETH developer workflow From 70a59484b1a0fea2dfa2832f1c0c16e3d6cd3c28 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon Date: Wed, 22 May 2024 12:04:02 -0500 Subject: [PATCH 3/3] update submodules --- submodules/internetidentity | 2 +- submodules/motoko | 2 +- submodules/quill | 2 +- submodules/sdk | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/submodules/internetidentity b/submodules/internetidentity index c31e8e1c2c..2ae06956f9 160000 --- a/submodules/internetidentity +++ b/submodules/internetidentity @@ -1 +1 @@ -Subproject commit c31e8e1c2cd0ba2e9b9fa2a5b93f2e26d1d0a433 +Subproject commit 2ae06956f9cabc048b8536b29b9f861092958515 diff --git a/submodules/motoko b/submodules/motoko index dfaff30023..d141570c99 160000 --- a/submodules/motoko +++ b/submodules/motoko @@ -1 +1 @@ -Subproject commit dfaff300237b69caf9f79d9433ade708fbde6f70 +Subproject commit d141570c9941080233dd63de4e04c00da579241a diff --git a/submodules/quill b/submodules/quill index 816939eb48..21b8bda2e2 160000 --- a/submodules/quill +++ b/submodules/quill @@ -1 +1 @@ -Subproject commit 816939eb4827d74866f28a99d1c44a2e0c4f901b +Subproject commit 21b8bda2e2ababccf591acd5d866ac2307c448ad diff --git a/submodules/sdk b/submodules/sdk index dae62bd959..fb3c6398d3 160000 --- a/submodules/sdk +++ b/submodules/sdk @@ -1 +1 @@ -Subproject commit dae62bd959a3893693241ed324890a667cbf74be +Subproject commit fb3c6398d384e11e9aacc7fcc04836be5e7b6aa9