From 96e18e0ba0f44d8e78732d6f836853e16944873e Mon Sep 17 00:00:00 2001 From: 0xlukem Date: Thu, 9 Jan 2025 16:11:23 -0300 Subject: [PATCH 1/2] fix 404, fix 403 and some minor fix --- builders/deploy/dapp.md | 2 +- builders/tanssi-network/testnet/index.md | 2 +- builders/toolkit/ethereum-api/dev-env/index.md | 2 +- builders/toolkit/ethereum-api/libraries/web3py.md | 2 +- builders/toolkit/integrations/indexers/sqd/erc20-transfers.md | 2 +- builders/toolkit/integrations/indexers/sqd/quick-start.md | 2 +- .../toolkit/integrations/wallet-integrations/rainbowkit.md | 4 ++-- node-operators/sequencers/offboarding/index.md | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/builders/deploy/dapp.md b/builders/deploy/dapp.md index 72f9f931..44fe7c16 100644 --- a/builders/deploy/dapp.md +++ b/builders/deploy/dapp.md @@ -88,7 +88,7 @@ The [Substrate template](/builders/build/templates/overview/#baseline-network-te To get started, select the **Substrate** template from the left-side menu. Then take the following steps: 1. In the **Project Details** section, provide your project's name, your contact email, and your Telegram -2. Enter the token decimals and symbol for your native token and the [SS58 address format](https://github.com/paritytech/ss58-registry/blob/main/ss58-registry.json){target=\_blank} +2. Enter the token decimals and symbol for your native token and the [SS58 address format registry](https://github.com/paritytech/ss58-registry/blob/main/ss58-registry.json){target=\_blank} 3. Provide the Substrate-style address of the account you want to use as the sudo account and its initial balance. This account will be able to dispatch privileged functions that require Root permissions. There can only be one sudo account at a time. The sudo account can be changed at any time to a new one by the current sudo account. Once the network is launched, you can easily migrate to a fully decentralized system using specific democracy-related modules 4. (Optional) You can add genesis accounts and balances. If you choose to skip this step, you can use the sudo account to create accounts and transfer funds at a later time 5. Once you have configured the template for your Tanssi network, you can select **Continue** to proceed to the [Check Balances section](#check-balances) diff --git a/builders/tanssi-network/testnet/index.md b/builders/tanssi-network/testnet/index.md index 85973e3a..58981728 100644 --- a/builders/tanssi-network/testnet/index.md +++ b/builders/tanssi-network/testnet/index.md @@ -5,7 +5,7 @@ icon: octicons-telescope-24 template: index-page.html --- -## TestNet +# TestNet The official Tanssi TestNet, Dancebox, allows developers to experiment with blockchain applications in a controlled environment before going live. It provides the tools to configure networks, interact with test versions of protocols, and troubleshoot issues to ensure a smoother transition to production. diff --git a/builders/toolkit/ethereum-api/dev-env/index.md b/builders/toolkit/ethereum-api/dev-env/index.md index d7c1abff..64041216 100644 --- a/builders/toolkit/ethereum-api/dev-env/index.md +++ b/builders/toolkit/ethereum-api/dev-env/index.md @@ -13,7 +13,7 @@ Establishing an effective development environment is crucial for building, testi - Simulate blockchain interactions locally for testing and debugging - Automate workflows for faster deployments -Each development environment helps you achieve the same goal, building and deploying blockchain applications, but they do so in unique ways. For instance, browser-based IDEs like [Remix](tanssi-docs/builders/toolkit/ethereum-api/dev-env/remix) provide a fast and accessible way to start coding, while tools like [Foundry](tanssi-docs/builders/toolkit/ethereum-api/dev-env/foundry) and [Hardhat](tanssi-docs/builders/toolkit/ethereum-api/dev-env/hardhat) cater to developers who prefer specific workflows, such as a Solidity-first or JavaScript-integrated approach. Choose the one that aligns best with your needs and development style. +Each development environment helps you achieve the same goal, building and deploying blockchain applications, but they do so in unique ways. For instance, browser-based IDEs like [Remix](/builders/toolkit/ethereum-api/dev-env/remix) provide a fast and accessible way to start coding, while tools like [Foundry](/builders/toolkit/ethereum-api/dev-env/foundry) and [Hardhat](/builders/toolkit/ethereum-api/dev-env/hardhat/) cater to developers who prefer specific workflows, such as a Solidity-first or JavaScript-integrated approach. Choose the one that aligns best with your needs and development style. ## Explore This Section diff --git a/builders/toolkit/ethereum-api/libraries/web3py.md b/builders/toolkit/ethereum-api/libraries/web3py.md index ac3089b1..4ce037c5 100644 --- a/builders/toolkit/ethereum-api/libraries/web3py.md +++ b/builders/toolkit/ethereum-api/libraries/web3py.md @@ -8,7 +8,7 @@ icon: octicons-code-24 ## Introduction {: #introduction } -[Web3.py](https://web3py.readthedocs.io){target=\_blank} is a set of libraries that allow developers to interact with Ethereum nodes using HTTP, IPC, or WebSocket protocols with Python. Tanssi EVM networks have an Ethereum-like API available that is fully compatible with Ethereum-style JSON RPC invocations. Therefore, developers can leverage this compatibility and use the Ethers.js library to interact with a Tanssi EVM network node as if they were doing so on Ethereum. For more information on Web3.py, check their [documentation site](https://web3py.readthedocs.io){target=\_blank}. +[Web3.py](https://web3py.readthedocs.io/en/stable/){target=\_blank} is a set of libraries that allow developers to interact with Ethereum nodes using HTTP, IPC, or WebSocket protocols with Python. Tanssi EVM networks have an Ethereum-like API available that is fully compatible with Ethereum-style JSON RPC invocations. Therefore, developers can leverage this compatibility and use the Ethers.js library to interact with a Tanssi EVM network node as if they were doing so on Ethereum. For more information on Web3.py, check their [documentation site](https://web3py.readthedocs.io/en/stable/){target=\_blank}. In this guide, you'll learn how to use setup the Web3.py library for your Tanssi-powered EVM network. Next, to showcase the library in action, you'll use Web3.py to send a transaction and deploy a contract on a Tanssi EVM network running in Tanssi's [Dancebox](/builders/tanssi-network/testnet/dancebox/){target=\_blank} TestNet. This guide can be adapted for your own Tanssi EVM network by simply changing the endpoint. diff --git a/builders/toolkit/integrations/indexers/sqd/erc20-transfers.md b/builders/toolkit/integrations/indexers/sqd/erc20-transfers.md index 014218c1..05e8c290 100644 --- a/builders/toolkit/integrations/indexers/sqd/erc20-transfers.md +++ b/builders/toolkit/integrations/indexers/sqd/erc20-transfers.md @@ -362,7 +362,7 @@ To query your squid, open up a new terminal window within your project and run t sqd serve ``` -And that's it! You can now run queries against your Squid on the GraphQL playground at [http://localhost:4350/graphql](http://localhost:4350/graphql){target=\_blank}. Try crafting your own GraphQL query, or use the below one: +And that's it! You can now run queries against your Squid on the GraphQL playground at `http://localhost:4350/graphql`. Try crafting your own GraphQL query, or use the below one: ???+ code "Example query" diff --git a/builders/toolkit/integrations/indexers/sqd/quick-start.md b/builders/toolkit/integrations/indexers/sqd/quick-start.md index dc0b1053..296de98d 100644 --- a/builders/toolkit/integrations/indexers/sqd/quick-start.md +++ b/builders/toolkit/integrations/indexers/sqd/quick-start.md @@ -142,7 +142,7 @@ To get started indexing EVM data on a Tanssi-powered EVM network, you'll need to sqd serve ``` -7. You can now run queries, such as the sample query below, against your Squid on the GraphQL playground at [http://localhost:4350/graphql](http://localhost:4350/graphql){target=\_blank}. If you've modified the template Substrate squid to index different data, you'll need to modify this query accordingly +7. You can now run queries, such as the sample query below, against your Squid on the GraphQL playground at `http://localhost:4350/graphql`. If you've modified the template Substrate squid to index different data, you'll need to modify this query accordingly ```graphql query MyQuery { diff --git a/builders/toolkit/integrations/wallet-integrations/rainbowkit.md b/builders/toolkit/integrations/wallet-integrations/rainbowkit.md index 03f7b622..e95d6d8b 100644 --- a/builders/toolkit/integrations/wallet-integrations/rainbowkit.md +++ b/builders/toolkit/integrations/wallet-integrations/rainbowkit.md @@ -45,7 +45,7 @@ The script will prompt for a project name, generate a new directory with the boi --8<-- 'code/builders/toolkit/wallet-integrations/rainbowkit/cli-quickstart.md' -Navigate to the project directory, start the development server, and open [http://localhost:3000](http://localhost:3000){target=\_blank} to view the project locally: +Navigate to the project directory, start the development server, and open `http://localhost:3000` to view the project locally: === "npm" @@ -157,7 +157,7 @@ Next, start the development server to create a local dApp instance: yarn dev ``` -After starting the server, open [http://localhost:3000](http://localhost:3000){target=\_blank}, to view the Next.js application in the browser. +After starting the server, open `http://localhost:3000` to view the Next.js application in the browser. To test the RainbowKit connection, the MetaMask app can be used. Ensure that the Tanssi demo EVM network is connected in the MetaMask wallet. diff --git a/node-operators/sequencers/offboarding/index.md b/node-operators/sequencers/offboarding/index.md index 254b897e..40df3172 100644 --- a/node-operators/sequencers/offboarding/index.md +++ b/node-operators/sequencers/offboarding/index.md @@ -5,7 +5,7 @@ icon: octicons-arrow-down-right-24 template: index-page.html --- -## Offboarding +# Offboarding Stepping down as a sequencer requires following the proper procedures to ensure a smooth transition. This section provides clear instructions to unmap your session keys and undelegate your self-bonded stake, allowing you to safely reclaim your funds and disconnect your account from the network. From 01486bea70601073e8d6663050fa7c57bff833aa Mon Sep 17 00:00:00 2001 From: Lucas Malizia <131050418+0xlukem@users.noreply.github.com> Date: Tue, 14 Jan 2025 11:59:15 -0300 Subject: [PATCH 2/2] Apply suggestions from code review Apply changes according to feedback Co-authored-by: Erin Shaben --- builders/deploy/dapp.md | 2 +- builders/toolkit/ethereum-api/dev-env/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builders/deploy/dapp.md b/builders/deploy/dapp.md index 44fe7c16..72f9f931 100644 --- a/builders/deploy/dapp.md +++ b/builders/deploy/dapp.md @@ -88,7 +88,7 @@ The [Substrate template](/builders/build/templates/overview/#baseline-network-te To get started, select the **Substrate** template from the left-side menu. Then take the following steps: 1. In the **Project Details** section, provide your project's name, your contact email, and your Telegram -2. Enter the token decimals and symbol for your native token and the [SS58 address format registry](https://github.com/paritytech/ss58-registry/blob/main/ss58-registry.json){target=\_blank} +2. Enter the token decimals and symbol for your native token and the [SS58 address format](https://github.com/paritytech/ss58-registry/blob/main/ss58-registry.json){target=\_blank} 3. Provide the Substrate-style address of the account you want to use as the sudo account and its initial balance. This account will be able to dispatch privileged functions that require Root permissions. There can only be one sudo account at a time. The sudo account can be changed at any time to a new one by the current sudo account. Once the network is launched, you can easily migrate to a fully decentralized system using specific democracy-related modules 4. (Optional) You can add genesis accounts and balances. If you choose to skip this step, you can use the sudo account to create accounts and transfer funds at a later time 5. Once you have configured the template for your Tanssi network, you can select **Continue** to proceed to the [Check Balances section](#check-balances) diff --git a/builders/toolkit/ethereum-api/dev-env/index.md b/builders/toolkit/ethereum-api/dev-env/index.md index 64041216..3cdf8924 100644 --- a/builders/toolkit/ethereum-api/dev-env/index.md +++ b/builders/toolkit/ethereum-api/dev-env/index.md @@ -13,7 +13,7 @@ Establishing an effective development environment is crucial for building, testi - Simulate blockchain interactions locally for testing and debugging - Automate workflows for faster deployments -Each development environment helps you achieve the same goal, building and deploying blockchain applications, but they do so in unique ways. For instance, browser-based IDEs like [Remix](/builders/toolkit/ethereum-api/dev-env/remix) provide a fast and accessible way to start coding, while tools like [Foundry](/builders/toolkit/ethereum-api/dev-env/foundry) and [Hardhat](/builders/toolkit/ethereum-api/dev-env/hardhat/) cater to developers who prefer specific workflows, such as a Solidity-first or JavaScript-integrated approach. Choose the one that aligns best with your needs and development style. +Each development environment helps you achieve the same goal, building and deploying blockchain applications, but they do so in unique ways. For instance, browser-based IDEs like [Remix](/builders/toolkit/ethereum-api/dev-env/remix/) provide a fast and accessible way to start coding, while tools like [Foundry](/builders/toolkit/ethereum-api/dev-env/foundry/) and [Hardhat](/builders/toolkit/ethereum-api/dev-env/hardhat/) cater to developers who prefer specific workflows, such as a Solidity-first or JavaScript-integrated approach. Choose the one that aligns best with your needs and development style. ## Explore This Section