Skip to content

Latest commit

 

History

History
71 lines (37 loc) · 2.91 KB

File metadata and controls

71 lines (37 loc) · 2.91 KB

Creating a new Ethereum network


Lets say we want to create a new Ethereum network, initially with a full node. First, in the project's root folder, open a terminal and run:

node index

A new input will be prompted asking for your Chainstack's api key. You can get yours from Chainstack console.

001

After that, you can get to choose any of the requests specified in the api reference documentation:

002

Select Network Requests, then Create Network.

003

If we check the documentation reference for creating a network, it requires a few parameters in JSON format. Paramaters differs on some networks, but for EVM based networks (like Ethereum) they are pretty much the same:

004

Now, you will be prompted to select all of this parameters as inputs to succesfully create a new ethereum network. First, a project is needed, since a project ID is required as param. Projects list will vary depending on the organization you are in, so be sure to create a new project before creating networks.

005

Then, you need to choose which protocol will be used for the network, in this example we'll use ethereum.

006

Next, we need to input a name. For evm based networks, it will set the network type as name by default.

007

After that, it's required to pass a list of initial nodes. In this example we will create just one full node, but you can try creating a few more if needed. First a name is required for the node:

008

Then, a provider and a region from the provider is required. Regions will vary depending on the provider you choose. Please refer to the creating nodes reference for further details. In this case, we'll select aws from the provider list, and us-east-1 as region.

009

010

Now we need to choose the type of node to create. Currently, only shared nodes are supported.

011

Finally we need to set if the node will be in archive mode. In this example we'll select NO, as we are creating a full node.

012

We'll be asked if we want to add another node. In this example we will create just one for simplicity, but you can try adding more nodes if you wish:

013

And thats it! If everything goes well, you shall see this kind of output from the terminal.

014

Now if we go to the Chainstack's console we can look for our network and it's initial full node.

015

016

017