From f8d5482cf68a28d1800a80cbfebc6d755418f4f5 Mon Sep 17 00:00:00 2001 From: Owanate Amachree Date: Wed, 30 Oct 2024 13:57:25 +0200 Subject: [PATCH] Ensure consistency in naming and style, fix broken links --- docs/02-developers/02-requirements/index.md | 2 +- docs/02-developers/04-quickstart/alchemy.md | 127 ------------------ docs/02-developers/04-quickstart/ape.md | 6 +- docs/02-developers/04-quickstart/foundry.md | 2 +- docs/02-developers/04-quickstart/hardhat.md | 4 +- docs/02-developers/04-quickstart/index.md | 19 +++ docs/02-developers/04-quickstart/remix.md | 2 +- .../04-quickstart/rootstock-etherspot.md | 2 +- docs/02-developers/04-quickstart/wagmi.md | 4 +- .../04-quickstart/web3-python.md | 2 +- .../02-hardhat/configure-hardhat-rootstock.md | 2 +- .../07-rpc-api/02-rootstock/01-setup.md | 10 +- .../07-rpc-api/02-rootstock/02-methods.md | 4 +- .../07-rpc-api/02-rootstock/index.md | 6 +- .../07-rpc-api/03-alchemy/index.md | 9 +- docs/02-developers/07-rpc-api/_category_.yml | 7 + docs/02-developers/07-rpc-api/index.md | 14 -- docs/02-developers/index.md | 4 +- .../08-public-nodes/index.md | 2 +- .../04-tutorials/rootstock-metamask.md | 2 +- .../04-tutorials/rootstock-rust.md | 4 +- .../Homepage/HomepageSectionProducts/index.js | 6 +- vercel.json | 4 +- 23 files changed, 65 insertions(+), 179 deletions(-) delete mode 100644 docs/02-developers/04-quickstart/alchemy.md create mode 100644 docs/02-developers/07-rpc-api/_category_.yml delete mode 100644 docs/02-developers/07-rpc-api/index.md diff --git a/docs/02-developers/02-requirements/index.md b/docs/02-developers/02-requirements/index.md index 536a96ec..d69aa283 100644 --- a/docs/02-developers/02-requirements/index.md +++ b/docs/02-developers/02-requirements/index.md @@ -21,7 +21,7 @@ Participating in a Rootstock hackathon or Workshop? View the [Hackathon Resource - Interact with Rootstock using the [RPC API](https://rpc.rootstock.io/) :::tip[Get an API Key] -See how to setup the RPC API and get an [API Key](/developers/rpc-api/setup). +See how to setup the RPC API and get an [API Key](/developers/rpc-api/rootstock/setup/). ::: ## Connecting to a Wallet diff --git a/docs/02-developers/04-quickstart/alchemy.md b/docs/02-developers/04-quickstart/alchemy.md deleted file mode 100644 index b8032dfe..00000000 --- a/docs/02-developers/04-quickstart/alchemy.md +++ /dev/null @@ -1,127 +0,0 @@ ---- -sidebar_label: Using Alchemy RPC Service -sidebar_position: 700 -title: Rootstock - Alchemy RPC Service -description: 'Short guide to interact with the Rootstock network using Alchemy RPC service.' -tags: [rsk, rootstock, tutorials, developers, alchemy, quick starts, dApps, smart contracts, rpc] ---- - -This guide provides a step-to-step for developers to interact with Rootstock network with the [Alchemy RPC Provider Service](https://www.alchemy.com/). - -It aims to address the challenges faced by developers when trying to access critical information like logs, transactions, and balances through RPC, which can significantly impact the timely development of dApps on the Rootstock blockchain. - -In this guide you will learn: -- How to create an **Alchemy** project to make your first API call. -- View some options to interact with the node RPC with the **Alchemy** sdk and tools. - - -## Prerequisites - -Before you start this guide, make sure you have the following: - -- Basic understanding of smart contracts and how to interact with them on the Rootstock blockchain. -- Familiarity with Ethereum-based dApp development can be helpful. -- Ensure you have a development environment set up for interacting with blockchain nodes. -- Basic programming knowledge of ***JavaScript***, ***Python***, or other supported languages to make `API calls`. And familiarity with making ***HTTP*** requests and handling ***JSON*** responses. - -## Who Is It For? -- Developers looking to interact with the Rootstock nodes. - -## Features -**Easy Setup:** -- Create an API key effortlessly to initiate development. -- Make your first API call in minutes. - -**API Key Authentication:** -- Provides secure authentication for decentralized applications (dApps). -- Limits API requests on a daily or monthly basis. - -## Getting Started - -To access the **Alchemy** tools, visit its [Dashboard Portal](https://www.alchemy.com/). If you don't already have an account, you can sign up for free. And then, simply log in to get started. - -### Step 1: Create New App -After logging in, you'll be directed to the main dashboard. From there, you have different options for interacting with **Alchemy** tools. - -![Alchemy - Create New App](/img/developers/quickstart/1-alchemy.png) - -Click the option `Create new app`, where you'll be prompted to provide the ***app's name***, ***description***, and specify its intended ***use case***. - -- **Name:** This is your app's unique identifier. Choose a meaningful and descriptive name to help you easily recognize the app in your dashboard. This name will appear throughout the platform and may be used in API references. -- **Description (Optional):** Provide additional information about the app's purpose or functionality. While this field is optional, it's a good practice to include a brief description to help you or your team members understand the app's role or features, especially when managing multiple apps. -- **Use Case:** Specify how you plan to use the app. **Alchemy** provides options such as ***Defi***, ***Analytics***, ***Gaming***, ***Wallet***, among others. Choosing the correct use case helps configure the app properly for its intended environment, ensuring it performs optimally for development, testing, or live deployment. - -![Alchemy - App Props](/img/developers/quickstart/2-alchemy.png) - -### Step 2: Choose Chains -After clicking `Next`, you'll be prompted to select the network for your dApp. In the Search field, type ***Rootstock***, then click on the Rootstock node. Once selected, click the `Next` button to proceed. - -![Alchemy - Choose Chain](/img/developers/quickstart/3-alchemy.png) - -### Step 3: Activate Services -The next screen will display the services available for the Rootstock network, including ***NODE API***. Click on Create app to complete the setup. - -![Alchemy - Activate Services](/img/developers/quickstart/4-alchemy.png) - - Your app information will now be visible, similar to the example shown. - -![Alchemy - App information](/img/developers/quickstart/5-alchemy.png) - -#### Set Up Tab: -In the `Set up` tab you will see different options for using the rpc node, depending on the ***Method***, ***Language*** and ***SDK*** you need to use for it. - -By default, the dashboard shows an example for the `get latest block` call on `Javascript` and `Viem`. - -```javascript -import { createPublicClient, http } from "viem"; -import { rootstock } from "viem/chains"; - -const client = createPublicClient({ - chain: rootstock, - transport: http("https://rootstock-mainnet.g.alchemy.com/v2/"), -}); - -const block = await client.getBlock({ - blockNumber: 123456n, -}); - -console.log(block); -``` - -However, you will have different language options available for the rpc call, included `CLI` (command line interface). - -#### Language Options: -- **CLI (Command Line Interface):** No SDK options are available with this choice. -- **JavaScript:** You can choose from ***Viem***, ***Ethers.js***, or ***Fetch*** as your SDK options. -- **TypeScript:** Only the ***Viem*** SDK option is available for selection. -- **Python:** You can select ***web3.py*** as the SDK option. - -Is it possible to test the CLI option easily in your console by pasting the following code: - -```bash -curl -X POST https://rootstock-mainnet.g.alchemy.com/v2/\ --H "Content-Type: application/json" \ --d '{ - "jsonrpc": "2.0", - "method": "eth_getBlockByNumber", - "params": ["latest", false], - "id": 1 -}' -``` -And the response should be something like this: -```json -{"jsonrpc":"2.0","id":1,"result":{"number":"0x67a9c4","hash":"0xe3d0d2b47eb0a06f04cea614355a6ba10935c62596e188e3d27dcafb7ddc746f","parentHash":"0x140a94c77bc08077133d874405252b4463bcbfe500cc7a9e48f4626cdfd91104","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","logsBloom":"0x00000000000000000000101000000000000080000040000000000000000000000020400000010000000000000000001000002000000000000008800000000000000000000000000000000000000008000000000000000001000000000000000000000000000000000040000000000000000000000000000000000000020000000001000000000081000000000004000000000000000000000000000020000000000000000200100020000000000000000180000000000080001000020000000000000001000000000000000000008000000030000000000000200000100000000000000000000000002004000880000000000400000000000000200010000200" … -``` - -#### Metrics Tab -In this tab, you can see the analytics for your app, with the success rates and total requests. - -![Alchemy - Metrics Tab](/img/developers/quickstart/6-alchemy.png) - -#### Networks Tab -In this tab, you will find the Rootstock card, where you can copy the RPC url you will use in your dApp (mainnet or testnet). - -![Alchemy - Networks Tab](/img/developers/quickstart/7-alchemy.png) - -#### Settings Tab -In this tab you find different configuration options of your app, like advanced config, allow list, JWT keys, or delete your app from the **Alchemy** dashboard. diff --git a/docs/02-developers/04-quickstart/ape.md b/docs/02-developers/04-quickstart/ape.md index 303db177..3fa19230 100644 --- a/docs/02-developers/04-quickstart/ape.md +++ b/docs/02-developers/04-quickstart/ape.md @@ -1,12 +1,12 @@ --- section_position: 400 -sidebar_label: Using Ape -title: Getting Started with Apeworx +sidebar_label: Getting Started with Ape +title: Getting Started with Ape description: 'How to compile, deploy, and intereact with smart contracts with Ape on Rootstock' tags: [rsk, ape, apeworx, developers, developer tools, tRBTC, rootstock, testing, dApps, smart contracts] --- -[Ape Framework](https://apeworx.io/framework/) is an easy-to-use Web3 development tool. Developers can compile, test, and interact with smart contracts all in one command line session. With its [modular plugin system](https://github.com/ApeWorX/ape?tab=readme-ov-file#plugin-system), Ape supports multiple contract languages and chains including Rootstock. +The [Ape Framework](https://apeworx.io/framework/) is an easy-to-use Web3 development tool. Developers can compile, test, and interact with smart contracts all in one command line session. With its [modular plugin system](https://github.com/ApeWorX/ape?tab=readme-ov-file#plugin-system), Ape supports multiple contract languages and chains including Rootstock. In this guide, we will learn about the [Ape Framework](https://apeworx.io/framework/) and its benefits for smart contract development, how to setup your development environment, create a Ape project and execute a deployment script for Rootstock. diff --git a/docs/02-developers/04-quickstart/foundry.md b/docs/02-developers/04-quickstart/foundry.md index 139a4a13..2a8084ac 100644 --- a/docs/02-developers/04-quickstart/foundry.md +++ b/docs/02-developers/04-quickstart/foundry.md @@ -1,5 +1,5 @@ --- -sidebar_label: Using Foundry +sidebar_label: Rootstock Foundry Starter kit sidebar_position: 500 title: Rootstock Foundry Starter kit description: 'Whether you are a seasoned developer or just starting your journey into smart contract development, the foundry starter kit provides a solid foundation for building decentralized applications (dApps) on the Rootstock network.' diff --git a/docs/02-developers/04-quickstart/hardhat.md b/docs/02-developers/04-quickstart/hardhat.md index 0e4034c4..22606ccd 100644 --- a/docs/02-developers/04-quickstart/hardhat.md +++ b/docs/02-developers/04-quickstart/hardhat.md @@ -1,7 +1,7 @@ --- -sidebar_label: Using Hardhat +sidebar_label: Rootstock Hardhat Starter Kit sidebar_position: 400 -title: Rootstock Hardhat Starter dApp +title: Rootstock Hardhat Starter Kit description: 'Whether you are a seasoned developer or just starting your journey into smart contract development, the hardhat starter kit provides a solid foundation for building decentralized applications (dApps) on the Rootstock network.' tags: [rsk, rootstock, tutorials, developers, hardhat, quick starts, dApps, smart contracts] --- diff --git a/docs/02-developers/04-quickstart/index.md b/docs/02-developers/04-quickstart/index.md index 61370ed7..0ebb32dd 100644 --- a/docs/02-developers/04-quickstart/index.md +++ b/docs/02-developers/04-quickstart/index.md @@ -14,6 +14,7 @@ values={[ {label: 'Remix', value: 'remix'}, {label: 'Wagmi', value: 'wagmi'}, {label: 'On-chain data', value: 'data'}, +{label: 'RPC API', value: 'rpc'}, {label: 'Ape', value: 'ape'}, {label: 'Port to Rootstock', value: 'port-dapps'} ]}> @@ -117,4 +118,22 @@ values={[ linkTitle="Use Ape" description="Learn how to compile, deploy, and intereact with smart contracts with Ape on Rootstock" /> + + diff --git a/docs/02-developers/04-quickstart/remix.md b/docs/02-developers/04-quickstart/remix.md index 3dc663b5..fa930fe0 100644 --- a/docs/02-developers/04-quickstart/remix.md +++ b/docs/02-developers/04-quickstart/remix.md @@ -1,5 +1,5 @@ --- -sidebar_label: Using Remix and Rootstock Explorer +sidebar_label: Deploy, Interact and Verify Smart Contracts using Remix and Rootstock Explorer sidebar_position: 600 title: Deploy, Interact and Verify Smart Contracts using Remix and Rootstock Explorer description: 'In this guide, we will use the Remix IDE to write, compile, deploy, interact and verify a smart contract on the Rootstock Explorer.' diff --git a/docs/02-developers/04-quickstart/rootstock-etherspot.md b/docs/02-developers/04-quickstart/rootstock-etherspot.md index 35e052ee..9282fe8c 100644 --- a/docs/02-developers/04-quickstart/rootstock-etherspot.md +++ b/docs/02-developers/04-quickstart/rootstock-etherspot.md @@ -1,5 +1,5 @@ --- -sidebar_label: Account Abstraction +sidebar_label: Account Abstraction using Etherspot Prime SDK sidebar_position: 600 title: Account Abstraction using Etherspot Prime SDK description: 'In this guide, you will learn how to use the Etherspot Prime SDK to deploy an Account Abstraction dApp on the Rootstock network. By following these steps, you will empower your users to interact with your dApp without managing private keys directly.' diff --git a/docs/02-developers/04-quickstart/wagmi.md b/docs/02-developers/04-quickstart/wagmi.md index d574ace2..7254f70c 100644 --- a/docs/02-developers/04-quickstart/wagmi.md +++ b/docs/02-developers/04-quickstart/wagmi.md @@ -1,7 +1,7 @@ --- -sidebar_label: Using Wagmi and React Hooks +sidebar_label: Rootstock Wagmi Starter Kit sidebar_position: 300 -title: Rootstock Wagmi Starter dApp +title: Rootstock Wagmi Starter Kit description: 'The Rootstock Wagmi Starter Kit provides a solid foundation for developing decentralized applications (dApps) on the Rootstock blockchain. It streamlines development by leveraging the React, Wagmi, and Shadcn libraries.' tags: [rsk, rootstock, developers, wagmi, quickstart, dApps, Smart Contracts] --- diff --git a/docs/02-developers/04-quickstart/web3-python.md b/docs/02-developers/04-quickstart/web3-python.md index fca4f7d0..a2a974f7 100644 --- a/docs/02-developers/04-quickstart/web3-python.md +++ b/docs/02-developers/04-quickstart/web3-python.md @@ -1,5 +1,5 @@ --- -sidebar_label: Using Web3.py +sidebar_label: Deploy and Interact with a Smart Contract using Web3.py sidebar_position: 200 title: Deploy and Interact with a Smart Contract using Web3.py description: 'Deploy and Interact with a Smart Contract Using Web3.py.' diff --git a/docs/02-developers/05-smart-contracts/02-hardhat/configure-hardhat-rootstock.md b/docs/02-developers/05-smart-contracts/02-hardhat/configure-hardhat-rootstock.md index 92c6c18f..12ef9d4c 100644 --- a/docs/02-developers/05-smart-contracts/02-hardhat/configure-hardhat-rootstock.md +++ b/docs/02-developers/05-smart-contracts/02-hardhat/configure-hardhat-rootstock.md @@ -66,7 +66,7 @@ To configure your `rskMainnet` and `rskTestnet` private keys, you'll need to upd }; ``` -> See how to [Get an API Key from the RPC API](/developers/rpc-api/setup/) +> See how to [Get an API Key from the RPC API](/developers/rpc-api/rootstock/setup/) > Replace `"your_mainnet_private_key"` and `"your_testnet_private_key"` with your private keys. For information on how to retrieve your private keys, see [How to export an account's private key](https://support.metamask.io/hc/en-us/articles/360015289632-How-to-export-an-account-s-private-key). diff --git a/docs/02-developers/07-rpc-api/02-rootstock/01-setup.md b/docs/02-developers/07-rpc-api/02-rootstock/01-setup.md index c8e3980f..cd07b848 100644 --- a/docs/02-developers/07-rpc-api/02-rootstock/01-setup.md +++ b/docs/02-developers/07-rpc-api/02-rootstock/01-setup.md @@ -1,20 +1,18 @@ --- -sidebar_label: Getting Started +sidebar_label: Getting Started with the Rootstock RPC API sidebar_position: 101 -title: Getting Started with the Rootstock RPC Service +title: Getting Started with the Rootstock RPC API tags: [faucet, Rootstock, testnet, address, wallet, tools] description: "Get started with the Rootstock RPC Service to interact with Rootstock nodes." --- - - ## Getting Started :::info[Note] -The [Rootstock RPC Service](https://rpc.rootstock.io/) is available on TESTNET and MAINNET. +The [Rootstock RPC API](https://rpc.rootstock.io/) is available on TESTNET and MAINNET. ::: -Visit the [Rootstock RPC Service](https://rpc.rootstock.io/) +Visit the [Rootstock RPC API](https://rpc.rootstock.io/)
RPC Service Landing Page diff --git a/docs/02-developers/07-rpc-api/02-rootstock/02-methods.md b/docs/02-developers/07-rpc-api/02-rootstock/02-methods.md index a470102a..cdff10a7 100644 --- a/docs/02-developers/07-rpc-api/02-rootstock/02-methods.md +++ b/docs/02-developers/07-rpc-api/02-rootstock/02-methods.md @@ -1,7 +1,7 @@ --- -sidebar_label: Rootstock RPC Service Methods +sidebar_label: Rootstock RPC API Methods sidebar_position: 102 -title: Rootstock RPC Service Methods +title: Rootstock RPC API Methods tags: [faucet, Rootstock, rpc api, testnet, address, wallet, tools] description: "Easily create, interact and deploy EVM compatible smart contracts using a robust set of JSON RPC methods available through the RPC API." --- diff --git a/docs/02-developers/07-rpc-api/02-rootstock/index.md b/docs/02-developers/07-rpc-api/02-rootstock/index.md index 1515bd2c..129a4031 100644 --- a/docs/02-developers/07-rpc-api/02-rootstock/index.md +++ b/docs/02-developers/07-rpc-api/02-rootstock/index.md @@ -1,12 +1,12 @@ --- -sidebar_label: Rootstock RPC Service +sidebar_label: Rootstock RPC API sidebar_position: 100 -title: Rootstock RPC Service +title: Rootstock RPC API tags: [faucet, Rootstock, testnet, address, wallet, tools] description: "Get started with the RPC API service to interact with Rootstock nodes." --- -The [Rootstock RPC Service](https://rpc.rootstock.io/) provides a seamless and intuitive web interface for developers to interact with [Rootstock nodes](/node-operators/setup/) via [JSON-RPC](/developers/rpc-api/rootstock/methods/) methods. It aims to address the challenges faced by developers when trying to access critical information like logs, transactions, and balances through RPC, which can significantly impact the timely development of dApps on the Rootstock blockchain. +The [Rootstock RPC API](https://rpc.rootstock.io/) provides a seamless and intuitive web interface for developers to interact with [Rootstock nodes](/node-operators/setup/) via [JSON-RPC](/developers/rpc-api/rootstock/methods/) methods. It aims to address the challenges faced by developers when trying to access critical information like logs, transactions, and balances through RPC, which can significantly impact the timely development of dApps on the Rootstock blockchain. In this guide, you will learn: diff --git a/docs/02-developers/07-rpc-api/03-alchemy/index.md b/docs/02-developers/07-rpc-api/03-alchemy/index.md index e22b2be5..5bed1038 100644 --- a/docs/02-developers/07-rpc-api/03-alchemy/index.md +++ b/docs/02-developers/07-rpc-api/03-alchemy/index.md @@ -1,12 +1,12 @@ --- -sidebar_label: Alchemy RPC API +sidebar_label: Rootstock - Alchemy RPC Provider sidebar_position: 300 -title: Rootstock - Alchemy RPC Service -description: 'Short guide to interact with the Rootstock network by using Alchemy RPC service.' +title: Rootstock - Alchemy RPC Provider +description: 'Guide to interacting with the Rootstock network using Alchemy.' tags: [rsk, rootstock, tutorials, developers, alchemy, quick starts, dApps, smart contracts, rpc] --- -This guide provides a step-to-step for developers to interact with Rootstock network with the [Alchemy RPC Provider Service](https://www.alchemy.com/). +A step-to-step guide for developers to interact with Rootstock network with the [Alchemy RPC Provider](https://www.alchemy.com/). It aims to address the challenges faced by developers when trying to access critical information like logs, transactions, and balances through RPC, which can significantly impact the timely development of dApps on the Rootstock blockchain. @@ -27,6 +27,7 @@ Before you start this guide, make sure you have the following: - Developers looking to interact with the Rootstock nodes. ## Features + ### Easy Setup - Create an API key effortlessly to initiate development. - Make your first API call in minutes. diff --git a/docs/02-developers/07-rpc-api/_category_.yml b/docs/02-developers/07-rpc-api/_category_.yml new file mode 100644 index 00000000..b4fcbe01 --- /dev/null +++ b/docs/02-developers/07-rpc-api/_category_.yml @@ -0,0 +1,7 @@ + +label: RPC API Services available on Rootstock +position: 5 +link: + type: generated-index + slug: /developers/rpc-api/ + description: "RPC API services for interacting with Rootstock network." \ No newline at end of file diff --git a/docs/02-developers/07-rpc-api/index.md b/docs/02-developers/07-rpc-api/index.md deleted file mode 100644 index 34e6e78e..00000000 --- a/docs/02-developers/07-rpc-api/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -sidebar_label: RPC API -sidebar_position: 5 -title: Interact with Rootstock via JSON-RPC -tags: [faucet, Rootstock, testnet, address, wallet, tools, alchemy, rpc, api] -description: "RPC API services for interacting with Rootstock network" ---- - -Get started interacting with Rootstock with using JSON-RPC methods with different service providers. - -| Provider | Description | -| ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| [Rootstock RPC Service](/developers/rpc-api/rootstock/) | Interact with Rootstock using the Rootstock RPC Service. | -| [Alchemy RPC Service](/developers/rpc-api/alchemy/) | Interact with Rootstock using the Alchemy RPC Service. | \ No newline at end of file diff --git a/docs/02-developers/index.md b/docs/02-developers/index.md index 39703967..73050887 100644 --- a/docs/02-developers/index.md +++ b/docs/02-developers/index.md @@ -11,7 +11,7 @@ Welcome to the Rootstock Developers Overview section. This section enables developers getting started with the Rootstock blockchain. Developers can install a local development environment using Hardhat, etc, create and test contracts with the libraries provided and use the libraries to build decentralized applications :::info[Info] -* Looking to quickly test your dApp on testnet before deploying to mainnet? Use the [RPC API](https://rpc.rootstock.io/) or view the [json-rpc methods](/developers/rpc-api/methods/) available on the RPC API. +* Looking to quickly test your dApp on testnet before deploying to mainnet? Use the [Rootstock RPC API](https://rpc.rootstock.io/) or view the [json-rpc methods](/developers/rpc-api/rootstock/methods/) available on the RPC API. * Dive right in with [step-by-step guides](/developers/quickstart/) to get your development environment set up and deploy your first dApp. ::: @@ -24,7 +24,7 @@ This section enables developers getting started with the Rootstock blockchain. D | [Quick Starts](/developers/quickstart/) | Dive right in with step-by-step guides to get your development environment set up and deploy your first dApp.| | [Smart Contract Development](/developers/smart-contracts/) | Explore in-depth resources on building secure and scalable smart contracts on Rootstock.| | [Integration Guides](/developers/integrate/) | Deepen your knowledge with detailed guides and informative tutorials that cover various aspects of Rootstock development.| -| [JSON-RPC](/developers/rpc-api/setup/) | Test your dApps on testnet in minutes before deploying to mainnet using the RPC API.| +| [JSON-RPC](/developers/rpc-api/) | Test your dApps on testnet in minutes before deploying to mainnet using RPC API providers on Rootstock.| | [Libraries](/developers/libraries/) | Access essential tools and libraries to streamline your development process. | diff --git a/docs/03-node-operators/08-public-nodes/index.md b/docs/03-node-operators/08-public-nodes/index.md index a62458ea..4caaafbd 100644 --- a/docs/03-node-operators/08-public-nodes/index.md +++ b/docs/03-node-operators/08-public-nodes/index.md @@ -16,7 +16,7 @@ and in accordance with the bitcoiners' maxim: **Don't trust. Verify.** :::info[RPC Node Providers] The Rootstock public nodes do not expose WebSockets, they are `HTTP` only. -To work around this, you may either [run your own Rootstock node](/node-operators/setup/node-runner/), or use the [Rootstock RPC API](/developers/rpc-api/setup/) or use a third-party node provider, such as [Getblock](https://getblock.io/nodes/rsk/), [NowNodes](https://nownodes.io/nodes/rsk) or [dRPC](https://drpc.org/chainlist/rootstock?utm_source=docs&utm_medium=rootstock). +To work around this, you may either [run your own Rootstock node](/node-operators/setup/node-runner/), or use the [Rootstock RPC API](/developers/rpc-api/rootstock/setup/) or use a third-party node provider, such as [Getblock](https://getblock.io/nodes/rsk/), [NowNodes](https://nownodes.io/nodes/rsk) or [dRPC](https://drpc.org/chainlist/rootstock?utm_source=docs&utm_medium=rootstock). ::: ## Testnet diff --git a/docs/04-resources/04-tutorials/rootstock-metamask.md b/docs/04-resources/04-tutorials/rootstock-metamask.md index f54a7ca0..9e1a3dea 100644 --- a/docs/04-resources/04-tutorials/rootstock-metamask.md +++ b/docs/04-resources/04-tutorials/rootstock-metamask.md @@ -89,7 +89,7 @@ export const rskMainnet = { }; ``` -> See how to [Get an API Key from the RPC API](/developers/rpc-api/setup/) +> See how to [Get an API Key from the RPC API](/developers/rpc-api/rootstock/setup/) See full configuration on [GitHub](https://github.com/rsksmart/demo-code-snippets/blob/5cc5124fe5bddc85f09a82e49eba7591003543f0/switch-network-to-rsk/networks.js). diff --git a/docs/04-resources/04-tutorials/rootstock-rust.md b/docs/04-resources/04-tutorials/rootstock-rust.md index bea9c04c..e87cf7e4 100644 --- a/docs/04-resources/04-tutorials/rootstock-rust.md +++ b/docs/04-resources/04-tutorials/rootstock-rust.md @@ -85,7 +85,7 @@ Next, update the `rootstock-rs/src/main.rs` file with the program below: :::info[Info] -Replace `API_KEY` with your RPC API Key. To get an API_KEY, see the [RPC Docs](/developers/rpc-api/setup/). +Replace `API_KEY` with your RPC API Key. To get an API_KEY, see the [RPC Docs](/developers/rpc-api/rootstock/setup/). ::: @@ -190,7 +190,7 @@ async fn main() -> eyre::Result<()> { :::info[Info] -Replace `API_KEY` with your RPC API Key. To get an API_KEY, see the [RPC Docs](/developers/rpc-api/setup/). Also replace RIF Testnet contract addresses with your own address as you would be required to use a private key later. +Replace `API_KEY` with your RPC API Key. To get an API_KEY, see the [RPC Docs](/developers/rpc-api/rootstock/setup/). Also replace RIF Testnet contract addresses with your own address as you would be required to use a private key later. ::: diff --git a/src/components/Homepage/HomepageSectionProducts/index.js b/src/components/Homepage/HomepageSectionProducts/index.js index c61465ef..41894896 100644 --- a/src/components/Homepage/HomepageSectionProducts/index.js +++ b/src/components/Homepage/HomepageSectionProducts/index.js @@ -76,17 +76,17 @@ const data = { color: 'yellow', description: ( <> - Deploy and interact with EVM compatible smart contracts on Rootstock using JSON RPC methods. + Deploy and interact with EVM compatible smart contracts on Rootstock using JSON RPC methods using the Rootstock RPC API. ), list: [ { title: 'Make First API Call', - href: '/developers/rpc-api/setup/', + href: '/developers/rpc-api/rootstock/setup/', }, { title: 'View JSON RPC Methods', - href: '/developers/rpc-api/methods/', + href: '/developers/rpc-api/rootstock/methods/', } ], }, diff --git a/vercel.json b/vercel.json index 30f45fe9..15716a23 100644 --- a/vercel.json +++ b/vercel.json @@ -632,6 +632,8 @@ {"source" : "/guides/dex/dex-vs-cex", "destination" : "https://blog.rootstock.io/noticia/dex-vs-cex/"}, {"source" : "/guides/get-crypto-on-rsk/cryptocurrency-vs-token", "destination" : "https://blog.rootstock.io/noticia/cryptocurrency-vs-token/"}, {"source" : "/guides/stablecoin/stablecoin-vs-digital-assets", "destination" : "https://blog.rootstock.io/noticia/stablecoin-vs-digital-asset/"}, - {"source" : "/guides/dex/features-of-a-dex", "destination" : "https://blog.rootstock.io/noticia/features-of-a-dex/"} + {"source" : "/guides/dex/features-of-a-dex", "destination" : "https://blog.rootstock.io/noticia/features-of-a-dex/"}, + {"source" : "/developers/quickstart/alchemy/", "destination" : "/developers/rpc-api/alchemy/"}, + {"source" : "/developers/rpc-api/setup/", "destination" : "/developers/rpc-api/rootstock/setup/"} ] } \ No newline at end of file