Skip to main content

Join a network

It is highly recommended that you set up a private local network before joining a public network. This will help you get familiar with the setup process, and provide an environment for testing. The following sections outline this process. If you want to join a public network without setting up a private network, you can skip to join a public network.

Set up a local private network

Validators can set up a private Pryzm network to become familiar with running a full Pryzm node before joining a public network.

Create a single node

The simplest Pryzm network you can set up is a local testnet with just a single node. In a single-node environment, you have one account and are the only validator signing blocks for your private network.

  1. Initialize your genesis file that will bootstrap the network. Replace the following variables with your own information:

      pryzmd init --chain-id=<privatenet-name> <node-moniker>
  2. Generate a Pryzm account. Replace the variable with your account name:

    pryzmd keys add <account-name>

In order for Pryzmd to recognize a wallet address, it must contain tokens. For the testnet, use the faucet to send Pryzm to your wallet. If you are on mainnet, send funds from an existing wallet. 1-3 Pryzm are sufficient for most setup processes.

Add your account to the genesis

Run the following commands to add your account and set the initial balance:

pryzmd add-genesis-account $(pryzmd keys show <account-name> -a) 10000000upryzm
pryzmd gentx <my-account> 10000000upryzm --chain-id=<testnet-name>
pryzmd collect-gentxs

Start your private Pryzm network

Run the following command to start your private network:

pryzmd start

If the private Pryzm network is set up correctly, your Pryzmd node will be running on tcp://localhost:26656, listening for incoming transactions, and signing blocks.

Join a public network

These instructions are for setting up a brand new full node from scratch. You can join a public Pryzm network, such as the mainnet or testnet, by completing the following steps:

1. Select a network

Specify the network you want to join by choosing the corresponding genesis file and seeds list:

indigo-1TestnetGenesis Link
pryzm-1MainnetGenesis Link

You can also check other resources regarding public networks here.

Joining mainnet

joining testnet

2. Download genesis file

Genesis-transaction specifies the account balances and parameters at the start of the network to use when replaying transactions and syncing.

  • For default Pryzmd configurations, the genesis file should be placed under ~/.pryzm/config/genesis.json respectively.


# Obtain the genesis for phoenix-1:
wget -O ~/.pryzm/config/genesis.json

3. Set Proper Configuration

For chain indigo-1 edit the app.toml as following:

minimum-gas-prices = "0.015upryzm, 0.01factory/pryzm15k9s9p0ar0cx27nayrgk6vmhyec3lj7vkry7rx/uusdsim"