Skip to main content

Chain Overview

XYZ Chain is a Proof of Stake blockchain with WASM smart contract support.

Chain Identity

PropertyValue
Chain IDxyz-1
Binary Namexyzd
Address Prefixxyz
Validator Prefixxyzvaloper
Consensus Prefixxyzvalcons

Token Denomination

PropertyValue
Base Denominationuxyz
Display DenominationXYZ
Decimals6
Conversion1 XYZ = 1,000,000 uxyz

Examples

1 XYZ        = 1,000,000 uxyz
0.5 XYZ      = 500,000 uxyz
0.000001 XYZ = 1 uxyz
All on-chain amounts are in uxyz (micro XYZ). The CLI automatically displays amounts in XYZ for readability.

Consensus

XYZ Chain uses Byzantine Fault Tolerant (BFT) consensus.
PropertyValue
Block Time~6 seconds
FinalityInstant (1 block)
ValidatorsUp to 100
BFT Threshold2/3

Genesis Configuration

Initial Accounts

The genesis file includes three pre-configured accounts for development:
AccountBalancePurpose
alice1,000,000 XYZDevelopment, initial validator
bob500,000 XYZFaucet account
treasury100,000,000 XYZFuture validator rewards

Genesis Balances

{
  "accounts": [
    {
      "name": "alice",
      "coins": ["1000000000000uxyz"]
    },
    {
      "name": "bob",
      "coins": ["500000000000uxyz"]
    },
    {
      "name": "treasury",
      "coins": ["100000000000000uxyz"]
    }
  ]
}

Network Endpoints

Mainnet

ServiceURL
RPChttp://67.205.164.156:26657
RESThttp://67.205.164.156:1317
gRPC67.205.164.156:9090

Local Development

ServiceURL
RPChttp://localhost:26657
RESThttp://localhost:1317
gRPClocalhost:9090
Faucethttp://localhost:4500

Running a Node

Full Node

# Initialize node
xyzd init my-node --chain-id xyz-1

# Get genesis from an existing validator
# Contact the team for the genesis file

# Start node
xyzd start

Validator Node

Running a validator requires careful security practices. See our Validator Guide for details.
# Create validator (after syncing)
xyzd tx staking create-validator \
  --amount=1000000uxyz \
  --pubkey=$(xyzd tendermint show-validator) \
  --moniker="my-validator" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --from=my-key \
  --chain-id=xyz-testnet-1

Smart Contracts

XYZ Chain supports WASM smart contracts through the x/wasm module.

Supported Standards

StandardDescription
CW20Fungible tokens (like ERC-20/SPL)
CW721Non-fungible tokens (like ERC-721)
CW1Proxy contracts
CW3Multisig contracts

Contract Limits

LimitValue
Max Contract Size800 KB
Max Gas Per Block75,000,000
Gas Multiplier100x

Useful Commands

Query Chain Status

# Get current block height
xyzd status | jq '.SyncInfo.latest_block_height'

# Get node info
xyzd status | jq '.NodeInfo'

# Check if node is syncing
xyzd status | jq '.SyncInfo.catching_up'

Query Module Params

# Staking parameters
xyzd query staking params

# Governance parameters
xyzd query gov params

# Wasm parameters
xyzd query wasm params