How Can We Help?

Search for answers or browse our knowledge base.


Still need help? Ask our Service Desk!

Categories
< All Topics
Print

How to start a Bare Metal node

Start Node

Configuration








Quick Start

:::: tabs

::: tab mainnet

export GNY_PUBLIC_IP=<your ip>
export GNY_SECRET=<your secret>
export GNY_P2P_SECRET=<your p2p secret>

export GNY_NETWORK=mainnet
export GNY_P2P_PEERS=/ip4/78.141.235.22/tcp/4097/p2p/QmdEmHir6AxNzHrhWBJ3PfUddRBabmmEGmdSaCenrKMCUh

export GNY_DB_PASSWORD=docker
export GNY_DB_USER=postgres2
export GNY_DB_HOST=localhost
export GNY_DB_PORT=5432
export GNY_DB_DATABASE=postgres2

:::

::: tab testnet

export GNY_PUBLIC_IP=<your ip>
export GNY_SECRET=<your secret>
export GNY_P2P_SECRET=<your p2p secret>

export GNY_NETWORK=testnet
export GNY_P2P_PEERS=/ip4/192.248.155.206/tcp/4097/p2p/QmUTkMvTdFsgNdtYMcN6U7VHBMzcVbg2oC3xYCagCJbRNs

export GNY_DB_PASSWORD=docker
export GNY_DB_USER=postgres2
export GNY_DB_HOST=localhost
export GNY_DB_PORT=5432
export GNY_DB_DATABASE=postgres2

:::

::::

Start your node with:

npm run start

::: tip
For information on how to forge Blocks see configure
:::

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Previous How to manage a Bare Metal node
Next How to upgrade a Bare Metal node
Table of Contents