Configure your Network

Configure the Testnet Chain ID and RPC Node

export NEXQLOUD_CHAIN_ID=testnet-02
export NEXQLOUD_NODE=http://rpc.testnet-02.aksh.pw:26657

Confirm your network variables are setup

Your values may differ depending on the network you're connecting to.

echo $NEXQLOUD_NODE $NEXQLOUD_CHAIN_ID $NEXQLOUD_KEYRING_BACKEND

You should see something similar to:

http://rpc.testnet-02.aksh.pw:26657 testnet-02 os

Set Additional Environment Variables

Set the below set of environment variables to ensure smooth operations

Variable
Description
Recommended Value

NEXQLOUD_GAS

Gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically

auto

NEXQLOUD_GAS_ADJUSTMENT

Adjustment factor to be multiplied against the estimate returned by the tx simulation

1.15

NEXQLOUD_GAS_PRICES

Gas prices in decimal format to determine the transaction fee

0.025unxq

NEXQLOUD_SIGN_MODE

Signature mode

amino-json

export NEXQLOUD_GAS=auto
export NEXQLOUD_GAS_ADJUSTMENT=1.25
export NEXQLOUD_GAS_PRICES=0.025unxq
export NEXQLOUD_SIGN_MODE=amino-json

Check your Account Balance

Check your account has sufficient balance by running:

provider-services query bank balances --node $NEXQLOUD_NODE $NEXQLOUD_ACCOUNT_ADDRESS

You should see a response similar to:

balances:
- amount: "25000000"
  denom: unxq
pagination:
  next_key: null
  total: "0"

Your account must have a minimum balance of 5 NXQ to create a deployment. This 5 NXQ funds the escrow account associated with the deployment and is used to pay the provider for their services. It is recommended you have more than this minimum balance to pay for transaction fees. For more information on escrow accounts, see here

Last updated