Skip to content
Testnet featureTestnet: yesMainnet: Not availableSoftware: Core bad4a06ea · protocol pqwerai-v8-testnet/1Updated

Getting Started

Every journey below is a sequence of shell scripts stored in developers/examples/. The pages include those files verbatim, and scripts/devhub/run_examples.sh executes the same files against a real PQWERAI node before each documentation release (for this release before the chain 20778 launch; a re-run on chain 20778, live since 27 November 2026, is still to be recorded). The latest results are in Source provenance.

For C++ and C#, follow Your first WASM contract. That guide uses Contract Studio; its verification limits are described separately from the shell journeys below.

Journey You will Time Status
Blockchain quickstart Check the chain ID, read a block, create an account, send tPQAI, wait for BFT finality 10 min Tested
Verify wallet and get test coins Discord verification, native/manual signing and faucet 10 min Candidate integration; supporting wallet and service required
First smart contract Compile, deploy, verify and call a Solidity contract with Foundry 10 min Tested
Create a token Deploy an OpenZeppelin ERC-20 (Wallet Studio or Foundry) 10 min Tested
Create NFTs ERC-721 and ERC-1155: metadata, minting, transfers 15 min Tested
Mine from the Windows wallet Start the bundled native node, choose the mining threads and mine tPQAI 15 min Wallet guide (0.8.13 screens); live 24-thread run before the chain 20778 launch
Become a miner Run GhostRider mining and read confirmed rewards 20 min Rewards check tested; node setup is the operator guide
Set up a Smartnode Keys, registration, staking, delegation, voting and custody 30 min Key generation and registry reads tested
Earn the IPFS storage reward Bond, pin manifest content with Kubo and prove it each round (v2) 30 min 5 % share credited on 20778 from block 1; pool contract deployed (block 143); no storage operator on 20778 yet; agent tested on a rehearsal chain
Create or join a model pool Read the pool directories, join bonsai-2-community or create a pool for one model 15 min Wallet guide; directory reads checked against the live directories
AI provider quickstart GhostLLM runtime boundary, opt-in policy, usage records, settlement 30 min Experimental, not a public service
Build an AI payment application Quote, fund, propose, accept, finalize, withdraw and refund on ServiceEscrow 20 min Tested

Every journey whose status says Tested runs from scripts. The wallet guides follow the wallet's screens and are checked by hand.

Before you start

Testnet

PQWERAI testnet 20778 is a test network: tPQAI, tEUR and tQAI have no value and mainnet does not exist. A public JSON-RPC endpoint serves reads and raw signed transactions: https://rpc-testnet.pqwerai.com (chain ID 20778; the endpoint serves it since 28 November 2026). The testnet airdrop sends 1 tPQAI per IP address every 24 hours; for more, run your own node (see Install a node or the Windows Wallet's Node page). tEUR for the QAI curve comes from its own on-chain faucet.

Tools used by the journeys:

Tool Version tested Notes
PQWERAI Core (pqwerai-core, pqwerai-cli) Core a679d60a1 (chain 20778 build) Linux x86-64; Windows x64 native (bundled in the wallet)
Foundry (forge, cast) 1.8.5 foundry.paradigm.xyz
solc 0.8.26 Pinned; forge downloads it when solc_version = "0.8.26" is set
Python 3.9+ Standard library only in the examples
curl, openssl any

Every journey starts by loading the same environment file:

env.sh
# Shared settings for every PQWERAI tutorial: source this file first (". ./env.sh").
# PQWERAI_RPC defaults to a node on this machine; the Core binds JSON-RPC to 127.0.0.1:8545.
export RPC="${PQWERAI_RPC:-http://127.0.0.1:8545}"
export CHAIN_ID=20778                 # 0x512a, public testnet 20778
export ETH_RPC_URL="$RPC"             # read by Foundry (cast/forge)
# Tutorial account created in quickstart/create-account.sh (encrypted keystore; never commit it).
export KEYSTORE="${KEYSTORE:-$PWD/keystore/dev}"
export PASSWORD_FILE="${PASSWORD_FILE:-$PWD/keystore/dev.password}"

Sources at 83ff5b69f0 (project repository, not public yet): scripts/devhub/run_examples.sh

Found a problem? Report a documentation issue · Build testnet-20778+83ff5b69f0