From 39b84eca8cc7f8858855284eeb4d0981567fee76 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon Date: Wed, 25 Sep 2024 15:14:38 -0500 Subject: [PATCH 1/5] Update ic0.app -> icp0.app --- docs/developer-docs/defi/dex/overview.mdx | 2 +- .../multi-chain/chain-key-tokens/ckbtc/overview.mdx | 2 +- .../multi-chain/chain-key-tokens/cketh/overview.mdx | 2 +- .../https-outcalls/https-outcalls-get.mdx | 10 +++++----- .../https-outcalls/https-outcalls-post.mdx | 12 ++++++------ .../smart-contracts/write/overview.mdx | 2 +- .../application-frontends/default-frontend.mdx | 6 +++--- .../application-frontends/existing-frontend.mdx | 2 +- .../web-apps/custom-domains/using-custom-domains.mdx | 2 +- .../4-exploring-the-frontend.mdx | 2 +- submodules/internetidentity | 2 +- submodules/motoko | 2 +- submodules/response-verfication | 2 +- submodules/samples | 2 +- submodules/sdk | 2 +- 15 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/developer-docs/defi/dex/overview.mdx b/docs/developer-docs/defi/dex/overview.mdx index d3387254d1..b554f609c7 100644 --- a/docs/developer-docs/defi/dex/overview.mdx +++ b/docs/developer-docs/defi/dex/overview.mdx @@ -26,7 +26,7 @@ Some examples of DEXs running on ICP include: - [ICPSwap](https://icpswap.com/) -- [ICDex](https://avjzx-pyaaa-aaaaj-aadmq-cai.raw.ic0.app/ICDex) +- [ICDex](https://iclight.io/ICDex/DKP/ICP) - [Sonic](https://sonic.ooo/) diff --git a/docs/developer-docs/multi-chain/chain-key-tokens/ckbtc/overview.mdx b/docs/developer-docs/multi-chain/chain-key-tokens/ckbtc/overview.mdx index 4977d7253e..80c913d6a8 100644 --- a/docs/developer-docs/multi-chain/chain-key-tokens/ckbtc/overview.mdx +++ b/docs/developer-docs/multi-chain/chain-key-tokens/ckbtc/overview.mdx @@ -81,7 +81,7 @@ Learn more in the [Bitcoin integration technical overview](/docs/current/referen ## ckBTC production application examples -- [ICDex](https://avjzx-pyaaa-aaaaj-aadmq-cai.raw.ic0.app/ICDex). +- [ICDex](https://iclight.io/ICDex/DKP/ICP). - [ICPSwap](https://icpswap.com/). diff --git a/docs/developer-docs/multi-chain/chain-key-tokens/cketh/overview.mdx b/docs/developer-docs/multi-chain/chain-key-tokens/cketh/overview.mdx index f63f138f99..ef465c0036 100644 --- a/docs/developer-docs/multi-chain/chain-key-tokens/cketh/overview.mdx +++ b/docs/developer-docs/multi-chain/chain-key-tokens/cketh/overview.mdx @@ -68,7 +68,7 @@ ckETH has many of the same use cases as ckBTC, such as: ## ckETH production application examples -- [ICDex](https://avjzx-pyaaa-aaaaj-aadmq-cai.raw.ic0.app/ICDex). +- [ICDex](https://iclight.io/ICDex/DKP/ICP). - [ICPSwap](https://icpswap.com/). diff --git a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx index fee7d1ddbf..5cd7cfd7f6 100644 --- a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx +++ b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx @@ -719,9 +719,9 @@ Committing batch. Deployed canisters. URLs: Frontend canister via browser - send_http_get_motoko_frontend: https://ff5va-7qaaa-aaaap-qbona-cai.ic0.app/ + send_http_get_motoko_frontend: https://ff5va-7qaaa-aaaap-qbona-cai.icp0.app/ Backend canister via Candid interface: - send_http_get_motoko_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fm664-jyaaa-aaaap-qbomq-cai + send_http_get_motoko_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai ``` @@ -740,12 +740,12 @@ Committing batch. Deployed canisters. URLs: Frontend canister via browser - send_http_get_rust_frontend: https://ff5va-7qaaa-aaaap-qbona-cai.ic0.app/ + send_http_get_rust_frontend: https://ff5va-7qaaa-aaaap-qbona-cai.icp0.app/ Backend canister via Candid interface: - send_http_get_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fm664-jyaaa-aaaap-qbomq-cai + send_http_get_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai ``` -You can see play with the dapp's `get_icp_usd_exchange` method on-chain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fm664-jyaaa-aaaap-qbomq-cai). +You can see play with the dapp's `get_icp_usd_exchange` method on-chain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai). diff --git a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx index e3ebaa9c28..960b46c55a 100644 --- a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx +++ b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx @@ -712,12 +712,12 @@ Committing batch. Deployed canisters. URLs: Frontend canister via browser - send_http_post_motoko_frontend: https://fx3cz-taaaa-aaaap-qbooa-cai.ic0.app/ + send_http_post_motoko_frontend: https://fx3cz-taaaa-aaaap-qbooa-cai.icp0.app/ Backend canister via Candid interface: - send_http_post_motoko_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai + send_http_post_motoko_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai ``` -You can see play with the dapp's `send_http_post_request` method on-chain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai). +You can see play with the dapp's `send_http_post_request` method on-chain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai). @@ -735,12 +735,12 @@ Committing batch. Deployed canisters. URLs: Frontend canister via browser - send_http_post_rust_frontend: https://f6yjf-fiaaa-aaaap-qbopq-cai.ic0.app/ + send_http_post_rust_frontend: https://f6yjf-fiaaa-aaaap-qbopq-cai.icp0.app/ Backend canister via Candid interface: - send_http_post_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fzzpr-iqaaa-aaaap-qbopa-cai + send_http_post_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fzzpr-iqaaa-aaaap-qbopa-cai ``` -You can see play with the dapp's `send_http_post_request` method on-chain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.ic0.app/?id=fm664-jyaaa-aaaap-qbomq-cai). +You can see play with the dapp's `send_http_post_request` method on-chain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai). diff --git a/docs/developer-docs/smart-contracts/write/overview.mdx b/docs/developer-docs/smart-contracts/write/overview.mdx index 12ae0c3d3a..1188947002 100644 --- a/docs/developer-docs/smart-contracts/write/overview.mdx +++ b/docs/developer-docs/smart-contracts/write/overview.mdx @@ -64,7 +64,7 @@ The typical development workflow of the frontend is: 1. The developer writes HTML, JS, CSS code. 1. The developer uses the default asset canister created by `dfx` or writes their own custom canister to store the web assets on-chain. -1. Users open the application in the browser by navigating to the URL `https://.ic0.app` or a custom domain that the developer has registered for the canister. +1. Users open the application in the browser by navigating to the URL `https://.icp0.app` or a custom domain that the developer has registered for the canister. 1. The canister serves the web assets to the browser via its `http_request` endpoint that gets invoked for each HTTP request. 1. When the JS code runs in the browser, it can call the backend canister endpoints using the [agent-js](/docs/current/developer-docs/web-apps/browser-js/js-request-api) library, which is analogous to `web3.js` and `ethers.js` of Ethereum. diff --git a/docs/developer-docs/web-apps/application-frontends/default-frontend.mdx b/docs/developer-docs/web-apps/application-frontends/default-frontend.mdx index 4ba0636f3e..f7271e6526 100644 --- a/docs/developer-docs/web-apps/application-frontends/default-frontend.mdx +++ b/docs/developer-docs/web-apps/application-frontends/default-frontend.mdx @@ -33,9 +33,9 @@ Assets can come in many forms, such as: When a dapp is deployed to ICP and has a frontend configured, the frontend assets will be displayed via a URL that contains the canister's ID. For local deployments, canisters are accessible through local URLs such as `http://127.0.0.1:4943/?canisterId=`. The port `4943` is the default local deployment port, though this can be changed via the `dfx` configuration or using a `dfx` flag. [Learn more about custom local networks](/docs/current/developer-docs/developer-tools/cli-tools/advanced-dfx/networks-json). -For canisters deployed to the mainnet, the canister can be accessed in a web browser using the canister's ID followed by `.ic0.app` or `raw.ic0.app`. For example, the [playground](https://m7sm4-2iaaa-aaaab-qabra-cai.ic0.app/) is an application with a frontend user interface that can be used to deploy canisters in a temporary, sandbox environment. This dapp can be accessed via the URL `https://m7sm4-2iaaa-aaaab-qabra-cai.ic0.app/`. +For canisters deployed to the mainnet, the canister can be accessed in a web browser using the canister's ID followed by `.ic0.app`, `.icp0.app` or `raw.icp0.app`. For example, the [playground](https://m7sm4-2iaaa-aaaab-qabra-cai.ic0.app/) is an application with a frontend user interface that can be used to deploy canisters in a temporary, sandbox environment. This dapp can be accessed via the URL `https://m7sm4-2iaaa-aaaab-qabra-cai.ic0.app/`. -The `raw.ic0.app` domain is used for canisters deployed to the mainnet, and provides a way to access the raw HTTP interface of that canister. For local deployments that want to simulate the behavior of the `raw.ic0.app` domain, you must implement a method in your canister that consumes an HTTP request and outputs an HTTP response. +The `raw.icp0.app` domain is used for canisters deployed to the mainnet, and provides a way to access the raw HTTP interface of that canister. For local deployments that want to simulate the behavior of the `raw.icp0.app` domain, you must implement a method in your canister that consumes an HTTP request and outputs an HTTP response. By default, projects created with `dfx new` have the option to include a frontend canister that uses a template for one of several frontend frameworks. This guide illustrates using the default React template generated by `dfx new` and guides you through some basic modifications to customize the interface displayed. @@ -300,7 +300,7 @@ Then, open a browser and navigate to `http://localhost:4943`. To view the frontend on the mainnet, navigate to the frontend canister URL returned when you ran `dfx deploy`, such as: ``` -https://.ic0.app/ +https://.icp0.app/ ``` - #### Step 2: Verify that you are prompted to type a name. diff --git a/docs/developer-docs/web-apps/application-frontends/existing-frontend.mdx b/docs/developer-docs/web-apps/application-frontends/existing-frontend.mdx index 32d061b106..b733dd8fe4 100644 --- a/docs/developer-docs/web-apps/application-frontends/existing-frontend.mdx +++ b/docs/developer-docs/web-apps/application-frontends/existing-frontend.mdx @@ -117,7 +117,7 @@ dfx deploy --network ic Deploying to the mainnet will cost [cycles](/docs/current/developer-docs/getting-started/cycles/overview). ::: -After running either command, you will see a generated link that is now hosting your Next.js application. The local url will be in the format `http://127.0.0.1:4943/?canisterId=`, while the mainnet URL will be in the format `https://.ic0.app/`. +After running either command, you will see a generated link that is now hosting your Next.js application. The local url will be in the format `http://127.0.0.1:4943/?canisterId=`, while the mainnet URL will be in the format `https://.icp0.app/`. ### Step 5: Navigate to the frontend canister to view the application diff --git a/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx b/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx index 148f736381..e08ba2c215 100644 --- a/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx +++ b/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx @@ -281,7 +281,7 @@ following troubleshooting steps: You may need to specify a `host` in your frontend code when you are using a custom domain, as the `HttpAgent` may not be able to automatically infer the -host like it can on `icp0.io` and `ic0.app`. To configure your agent, it will +host like it can on `icp0.io` and `icp0.app`. To configure your agent, it will look something like this: ```ts diff --git a/docs/tutorials/hackathon-prep-course/4-exploring-the-frontend.mdx b/docs/tutorials/hackathon-prep-course/4-exploring-the-frontend.mdx index 1e2e202f17..593523054b 100644 --- a/docs/tutorials/hackathon-prep-course/4-exploring-the-frontend.mdx +++ b/docs/tutorials/hackathon-prep-course/4-exploring-the-frontend.mdx @@ -300,7 +300,7 @@ You can learn more about agents in the documentation [here](/docs/current/develo ### Serving HTTP content -Canister smart contract are able to serve HTTP content natively, allowing for dapp frontends to be served directly in a web browser using the canister's URL at `http://.ic0.app` and `http://.raw.ic0.app`. Frontend canisters can be used to deliver HTML, CSS and JavaScript pages, and answer API requests. +Canister smart contract are able to serve HTTP content natively, allowing for dapp frontends to be served directly in a web browser using the canister's URL at `http://.icp0.app` and `http://.raw.icp0.app`. Frontend canisters can be used to deliver HTML, CSS and JavaScript pages, and answer API requests. If a canister wants to serve HTTP content, it should implement a method that consumes a HTTP request, which contains a URL, HTTP method and headers, then outputs a HTTP response that contains a status, headers and the response body. The canister method can return HTML, CSS and JavaScript content as part of the HTTP response. diff --git a/submodules/internetidentity b/submodules/internetidentity index 29f7f61ae3..c18f7bc83e 160000 --- a/submodules/internetidentity +++ b/submodules/internetidentity @@ -1 +1 @@ -Subproject commit 29f7f61ae375ab2a0250db9df3e94efff1ad23b7 +Subproject commit c18f7bc83e2f10b56717ca6014c6e99c9d705d6a diff --git a/submodules/motoko b/submodules/motoko index 074ffca17f..1219a50cc9 160000 --- a/submodules/motoko +++ b/submodules/motoko @@ -1 +1 @@ -Subproject commit 074ffca17f95a3da876d8d0dda4d123cd5c16674 +Subproject commit 1219a50cc957f6628a1dc27f10a26729a3f9ce10 diff --git a/submodules/response-verfication b/submodules/response-verfication index 58770d8ae3..d4f6f6771a 160000 --- a/submodules/response-verfication +++ b/submodules/response-verfication @@ -1 +1 @@ -Subproject commit 58770d8ae39b99bfa5bb5ddd341e422f76552839 +Subproject commit d4f6f6771a798f11bcc5f38b515b0418039cd88f diff --git a/submodules/samples b/submodules/samples index 24aca5b979..845c0be9c2 160000 --- a/submodules/samples +++ b/submodules/samples @@ -1 +1 @@ -Subproject commit 24aca5b979fd7f3690ee31890b466c19f45a027d +Subproject commit 845c0be9c2f4f0f56732b18d8138c4df77e27e1e diff --git a/submodules/sdk b/submodules/sdk index 3e8757694c..babc9db3bb 160000 --- a/submodules/sdk +++ b/submodules/sdk @@ -1 +1 @@ -Subproject commit 3e8757694cc04e51069fbbdae256498830833033 +Subproject commit babc9db3bb5f79426454e3c3cc4c6e6a295fa518 From 87497ff716ddcb0e4b40057a8039a49a055c270d Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Thu, 26 Sep 2024 08:21:07 -0500 Subject: [PATCH 2/5] Update docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx Co-authored-by: r-birkner <103420898+r-birkner@users.noreply.github.com> --- .../advanced-features/https-outcalls/https-outcalls-get.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx index a72b51b839..11787ba80c 100644 --- a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx +++ b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx @@ -745,7 +745,7 @@ URLs: send_http_get_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai ``` -You can see play with the dapp's `get_icp_usd_exchange` method onchain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai). +You can see play with the dapp's `get_icp_usd_exchange` method onchain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai). From 310bdbe1e5d9404d24c4fc8eef27be6cab2b9f88 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Thu, 26 Sep 2024 08:21:13 -0500 Subject: [PATCH 3/5] Update docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx Co-authored-by: r-birkner <103420898+r-birkner@users.noreply.github.com> --- .../advanced-features/https-outcalls/https-outcalls-post.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx index 888618ea66..8ba3aff4cf 100644 --- a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx +++ b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx @@ -717,7 +717,7 @@ URLs: send_http_post_motoko_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai ``` -You can see play with the dapp's `send_http_post_request` method onchain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai). +You can see play with the dapp's `send_http_post_request` method onchain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fc4tu-siaaa-aaaap-qbonq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fc4tu-siaaa-aaaap-qbonq-cai). From c3eeba6dd7cc6909303f4618a3b97ce8cdaa4d55 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon <133128541+jessiemongeon1@users.noreply.github.com> Date: Thu, 26 Sep 2024 08:21:20 -0500 Subject: [PATCH 4/5] Update docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx Co-authored-by: r-birkner <103420898+r-birkner@users.noreply.github.com> --- .../advanced-features/https-outcalls/https-outcalls-post.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx index 8ba3aff4cf..699b758450 100644 --- a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx +++ b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx @@ -740,7 +740,7 @@ URLs: send_http_post_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fzzpr-iqaaa-aaaap-qbopa-cai ``` -You can see play with the dapp's `send_http_post_request` method onchain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai). +You can see play with the dapp's `send_http_post_request` method onchain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai). From efa27b60b50bfa7030a9a07188cf10f05167ea02 Mon Sep 17 00:00:00 2001 From: Jessie Mongeon Date: Thu, 26 Sep 2024 08:23:02 -0500 Subject: [PATCH 5/5] fix typo --- .../https-outcalls/https-outcalls-get.mdx | 8 ++++---- .../https-outcalls/https-outcalls-post.mdx | 8 ++++---- docs/developer-docs/smart-contracts/write/overview.mdx | 2 +- .../web-apps/application-frontends/default-frontend.mdx | 6 +++--- .../web-apps/application-frontends/existing-frontend.mdx | 4 ++-- .../web-apps/custom-domains/using-custom-domains.mdx | 2 +- .../hackathon-prep-course/4-exploring-the-frontend.mdx | 2 +- submodules/internetidentity | 2 +- submodules/motoko | 2 +- submodules/response-verfication | 2 +- submodules/samples | 2 +- submodules/sdk | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx index 11787ba80c..35877a0f31 100644 --- a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx +++ b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-get.mdx @@ -719,9 +719,9 @@ Committing batch. Deployed canisters. URLs: Frontend canister via browser - send_http_get_motoko_frontend: https://ff5va-7qaaa-aaaap-qbona-cai.icp0.app/ + send_http_get_motoko_frontend: https://ff5va-7qaaa-aaaap-qbona-cai.icp0.io/ Backend canister via Candid interface: - send_http_get_motoko_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai + send_http_get_motoko_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai ``` @@ -740,9 +740,9 @@ Committing batch. Deployed canisters. URLs: Frontend canister via browser - send_http_get_rust_frontend: https://ff5va-7qaaa-aaaap-qbona-cai.icp0.app/ + send_http_get_rust_frontend: https://ff5va-7qaaa-aaaap-qbona-cai.icp0.io/ Backend canister via Candid interface: - send_http_get_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fm664-jyaaa-aaaap-qbomq-cai + send_http_get_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai ``` You can see play with the dapp's `get_icp_usd_exchange` method onchain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai). diff --git a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx index 699b758450..e750ab4f23 100644 --- a/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx +++ b/docs/developer-docs/smart-contracts/advanced-features/https-outcalls/https-outcalls-post.mdx @@ -712,9 +712,9 @@ Committing batch. Deployed canisters. URLs: Frontend canister via browser - send_http_post_motoko_frontend: https://fx3cz-taaaa-aaaap-qbooa-cai.icp0.app/ + send_http_post_motoko_frontend: https://fx3cz-taaaa-aaaap-qbooa-cai.icp0.io/ Backend canister via Candid interface: - send_http_post_motoko_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fc4tu-siaaa-aaaap-qbonq-cai + send_http_post_motoko_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fc4tu-siaaa-aaaap-qbonq-cai ``` You can see play with the dapp's `send_http_post_request` method onchain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fc4tu-siaaa-aaaap-qbonq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fc4tu-siaaa-aaaap-qbonq-cai). @@ -735,9 +735,9 @@ Committing batch. Deployed canisters. URLs: Frontend canister via browser - send_http_post_rust_frontend: https://f6yjf-fiaaa-aaaap-qbopq-cai.icp0.app/ + send_http_post_rust_frontend: https://f6yjf-fiaaa-aaaap-qbopq-cai.icp0.io/ Backend canister via Candid interface: - send_http_post_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.app/?id=fzzpr-iqaaa-aaaap-qbopa-cai + send_http_post_rust_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fzzpr-iqaaa-aaaap-qbopa-cai ``` You can see play with the dapp's `send_http_post_request` method onchain here: [https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai](https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=fm664-jyaaa-aaaap-qbomq-cai). diff --git a/docs/developer-docs/smart-contracts/write/overview.mdx b/docs/developer-docs/smart-contracts/write/overview.mdx index 44d322cd54..89fefcf998 100644 --- a/docs/developer-docs/smart-contracts/write/overview.mdx +++ b/docs/developer-docs/smart-contracts/write/overview.mdx @@ -64,7 +64,7 @@ The typical development workflow of the frontend is: 1. The developer writes HTML, JS, CSS code. 1. The developer uses the default asset canister created by `dfx` or writes their own custom canister to store the web assets onchain. -1. Users open the application in the browser by navigating to the URL `https://.icp0.app` or a custom domain that the developer has registered for the canister. +1. Users open the application in the browser by navigating to the URL `https://.icp0.io` or a custom domain that the developer has registered for the canister. 1. The canister serves the web assets to the browser via its `http_request` endpoint that gets invoked for each HTTP request. 1. When the JS code runs in the browser, it can call the backend canister endpoints using the [agent-js](/docs/current/developer-docs/web-apps/browser-js/js-request-api) library, which is analogous to `web3.js` and `ethers.js` of Ethereum. diff --git a/docs/developer-docs/web-apps/application-frontends/default-frontend.mdx b/docs/developer-docs/web-apps/application-frontends/default-frontend.mdx index f7271e6526..0a94b0b22d 100644 --- a/docs/developer-docs/web-apps/application-frontends/default-frontend.mdx +++ b/docs/developer-docs/web-apps/application-frontends/default-frontend.mdx @@ -33,9 +33,9 @@ Assets can come in many forms, such as: When a dapp is deployed to ICP and has a frontend configured, the frontend assets will be displayed via a URL that contains the canister's ID. For local deployments, canisters are accessible through local URLs such as `http://127.0.0.1:4943/?canisterId=`. The port `4943` is the default local deployment port, though this can be changed via the `dfx` configuration or using a `dfx` flag. [Learn more about custom local networks](/docs/current/developer-docs/developer-tools/cli-tools/advanced-dfx/networks-json). -For canisters deployed to the mainnet, the canister can be accessed in a web browser using the canister's ID followed by `.ic0.app`, `.icp0.app` or `raw.icp0.app`. For example, the [playground](https://m7sm4-2iaaa-aaaab-qabra-cai.ic0.app/) is an application with a frontend user interface that can be used to deploy canisters in a temporary, sandbox environment. This dapp can be accessed via the URL `https://m7sm4-2iaaa-aaaab-qabra-cai.ic0.app/`. +For canisters deployed to the mainnet, the canister can be accessed in a web browser using the canister's ID followed by `.ic0.app`, `.icp0.io` or `raw.icp0.io`. For example, the [playground](https://m7sm4-2iaaa-aaaab-qabra-cai.ic0.app/) is an application with a frontend user interface that can be used to deploy canisters in a temporary, sandbox environment. This dapp can be accessed via the URL `https://m7sm4-2iaaa-aaaab-qabra-cai.ic0.app/`. -The `raw.icp0.app` domain is used for canisters deployed to the mainnet, and provides a way to access the raw HTTP interface of that canister. For local deployments that want to simulate the behavior of the `raw.icp0.app` domain, you must implement a method in your canister that consumes an HTTP request and outputs an HTTP response. +The `raw.icp0.io` domain is used for canisters deployed to the mainnet, and provides a way to access the raw HTTP interface of that canister. For local deployments that want to simulate the behavior of the `raw.icp0.io` domain, you must implement a method in your canister that consumes an HTTP request and outputs an HTTP response. By default, projects created with `dfx new` have the option to include a frontend canister that uses a template for one of several frontend frameworks. This guide illustrates using the default React template generated by `dfx new` and guides you through some basic modifications to customize the interface displayed. @@ -300,7 +300,7 @@ Then, open a browser and navigate to `http://localhost:4943`. To view the frontend on the mainnet, navigate to the frontend canister URL returned when you ran `dfx deploy`, such as: ``` -https://.icp0.app/ +https://.icp0.io/ ``` - #### Step 2: Verify that you are prompted to type a name. diff --git a/docs/developer-docs/web-apps/application-frontends/existing-frontend.mdx b/docs/developer-docs/web-apps/application-frontends/existing-frontend.mdx index b733dd8fe4..a6d7febe6e 100644 --- a/docs/developer-docs/web-apps/application-frontends/existing-frontend.mdx +++ b/docs/developer-docs/web-apps/application-frontends/existing-frontend.mdx @@ -17,7 +17,7 @@ While numerous starter projects and examples exist for those who prefer to start This guide provides an overview of how to deploy an existing Next.js application as a frontend canister. :::caution -Server methods such as `getServerSideProps` are not supported, since it will be deployed as a client-only application. +Server methods such as `getServerSideProps` are not supported, since it will be deployed as a client-only application. ::: ## Next.js @@ -117,7 +117,7 @@ dfx deploy --network ic Deploying to the mainnet will cost [cycles](/docs/current/developer-docs/getting-started/cycles/overview). ::: -After running either command, you will see a generated link that is now hosting your Next.js application. The local url will be in the format `http://127.0.0.1:4943/?canisterId=`, while the mainnet URL will be in the format `https://.icp0.app/`. +After running either command, you will see a generated link that is now hosting your Next.js application. The local url will be in the format `http://127.0.0.1:4943/?canisterId=`, while the mainnet URL will be in the format `https://.icp0.io/`. ### Step 5: Navigate to the frontend canister to view the application diff --git a/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx b/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx index e08ba2c215..0935e24fa8 100644 --- a/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx +++ b/docs/developer-docs/web-apps/custom-domains/using-custom-domains.mdx @@ -281,7 +281,7 @@ following troubleshooting steps: You may need to specify a `host` in your frontend code when you are using a custom domain, as the `HttpAgent` may not be able to automatically infer the -host like it can on `icp0.io` and `icp0.app`. To configure your agent, it will +host like it can on `icp0.io` and `icp0.io`. To configure your agent, it will look something like this: ```ts diff --git a/docs/tutorials/hackathon-prep-course/4-exploring-the-frontend.mdx b/docs/tutorials/hackathon-prep-course/4-exploring-the-frontend.mdx index 593523054b..ee79c07349 100644 --- a/docs/tutorials/hackathon-prep-course/4-exploring-the-frontend.mdx +++ b/docs/tutorials/hackathon-prep-course/4-exploring-the-frontend.mdx @@ -300,7 +300,7 @@ You can learn more about agents in the documentation [here](/docs/current/develo ### Serving HTTP content -Canister smart contract are able to serve HTTP content natively, allowing for dapp frontends to be served directly in a web browser using the canister's URL at `http://.icp0.app` and `http://.raw.icp0.app`. Frontend canisters can be used to deliver HTML, CSS and JavaScript pages, and answer API requests. +Canister smart contract are able to serve HTTP content natively, allowing for dapp frontends to be served directly in a web browser using the canister's URL at `http://.icp0.io` and `http://.raw.icp0.io`. Frontend canisters can be used to deliver HTML, CSS and JavaScript pages, and answer API requests. If a canister wants to serve HTTP content, it should implement a method that consumes a HTTP request, which contains a URL, HTTP method and headers, then outputs a HTTP response that contains a status, headers and the response body. The canister method can return HTML, CSS and JavaScript content as part of the HTTP response. diff --git a/submodules/internetidentity b/submodules/internetidentity index c18f7bc83e..29f7f61ae3 160000 --- a/submodules/internetidentity +++ b/submodules/internetidentity @@ -1 +1 @@ -Subproject commit c18f7bc83e2f10b56717ca6014c6e99c9d705d6a +Subproject commit 29f7f61ae375ab2a0250db9df3e94efff1ad23b7 diff --git a/submodules/motoko b/submodules/motoko index 1219a50cc9..074ffca17f 160000 --- a/submodules/motoko +++ b/submodules/motoko @@ -1 +1 @@ -Subproject commit 1219a50cc957f6628a1dc27f10a26729a3f9ce10 +Subproject commit 074ffca17f95a3da876d8d0dda4d123cd5c16674 diff --git a/submodules/response-verfication b/submodules/response-verfication index d4f6f6771a..58770d8ae3 160000 --- a/submodules/response-verfication +++ b/submodules/response-verfication @@ -1 +1 @@ -Subproject commit d4f6f6771a798f11bcc5f38b515b0418039cd88f +Subproject commit 58770d8ae39b99bfa5bb5ddd341e422f76552839 diff --git a/submodules/samples b/submodules/samples index 845c0be9c2..24aca5b979 160000 --- a/submodules/samples +++ b/submodules/samples @@ -1 +1 @@ -Subproject commit 845c0be9c2f4f0f56732b18d8138c4df77e27e1e +Subproject commit 24aca5b979fd7f3690ee31890b466c19f45a027d diff --git a/submodules/sdk b/submodules/sdk index babc9db3bb..3e8757694c 160000 --- a/submodules/sdk +++ b/submodules/sdk @@ -1 +1 @@ -Subproject commit babc9db3bb5f79426454e3c3cc4c6e6a295fa518 +Subproject commit 3e8757694cc04e51069fbbdae256498830833033