Skip to main content

download-and-get-started

Pryzmd Binary Setup and Usage Guide

This document will guide you through downloading and using the Pryzmd binary for interacting with the Pryzm blockchain. The steps will cover how to create and manage wallets, as well as additional commands for interacting with the network using Cosmos SDK-based CLI standards.


1. Downloading the Pryzmd Binary

You can download different versions of the Pryzmd binary depending on your platform and needs. For now, please refer to the Download Pryzmd Versions document to select and download the appropriate version for your operating system.

After downloading, ensure the binary is executable by running:

chmod +x pryzmd

Move the binary to a directory in your PATH, for example:

sudo mv pryzmd /usr/local/bin/

To verify the installation, run:

pryzmd version

2. Initializing Pryzm

Before starting the node or creating wallets, initialize the Pryzm chain by using the following command:

pryzmd init <your-node-name> --chain-id pryzm-chain

This will create the necessary configuration files and directories.


3. Creating and Managing Wallets

Create a New Wallet

To create a new wallet, use the following command:

pryzmd keys add <wallet-name>

This will generate a new keypair and show you the mnemonic phrase, which you should store securely.

Import an Existing Wallet

To import a wallet using a mnemonic phrase, use:

pryzmd keys add <wallet-name> --recover

Follow the prompts to enter your 24-word mnemonic phrase to recover your wallet.

List All Wallets

To list all available wallets on your node:

pryzmd keys list

View Wallet Details

To view the details of a specific wallet, such as its address and public key:

pryzmd keys show <wallet-name>

Deleting a Wallet

To delete a wallet from your node:

pryzmd keys delete <wallet-name>

4. Funding a Wallet

After creating or importing a wallet, you will need to fund it to participate in the Pryzm network. You can do this by requesting tokens from a faucet (if available) or transferring tokens from another wallet. Use the following command to check your wallet's balance:

pryzmd query bank balances <wallet-address>

5. Sending Tokens

To send tokens to another wallet on the network, use the following command:

pryzmd tx bank send <from-wallet-name> <to-wallet-address> <amount> <denom>

For example, to send 10 PRYZM tokens, you would run:

pryzmd tx bank send wallet1 pryzm1abcdxyz1234 10000000upryzm

6. Staking and Delegation

You can also delegate your tokens to validators to participate in the consensus process. Here's how to delegate tokens:

Delegate Tokens

pryzmd tx staking delegate <validator-address> <amount> <denom> --from <wallet-name>

For example:

pryzmd tx staking delegate pryzmvaloper1abcdxyz1234 100pryzm --from wallet1

Unbonding Tokens

To unbond tokens from a validator:

pryzmd tx staking unbond <validator-address> <amount> --from <wallet-name>

7. Querying Blockchain Information

Query Account Balance

To check the balance of any wallet:

pryzmd query bank balances <wallet-address>

Query Validators

To get a list of all validators on the network:

pryzmd query staking validators

Query Staking Information

To view the staking details for a specific validator:

pryzmd query staking validator <validator-address>