Developers

Build on NORTH

Test coins, a private test chain on your own computer in a few minutes, and pointers to everything you need to build wallets, payments and tools for TrueNorth.

Test coins

The testnet faucet sends 100 tNORTH on testnet4 at once: no email, no sign-up.

Get test NORTH

A private test chain (regtest)

Regtest runs a TrueNorth chain only on your computer. You make blocks whenever you like, so payments confirm instantly. It's the quickest way to develop and to run automated tests. With TrueNorth Core installed:

truenorthd -regtest -daemon -fallbackfee=0.0001
truenorth-cli -regtest createwallet dev
ADDR=$(truenorth-cli -regtest getnewaddress)
truenorth-cli -regtest generatetoaddress 101 $ADDR
truenorth-cli -regtest getbalance
truenorth-cli -regtest sendtoaddress $(truenorth-cli -regtest getnewaddress) 10
truenorth-cli -regtest generatetoaddress 1 $ADDR
truenorth-cli -regtest stop
  • 101 blocks: newly mined coins can be spent after 100 confirmations, so the balance shows 512 tNORTH, the first block's reward.
  • One more block confirms the payment you just sent.
  • -fallbackfee sets a fee to use until the chain has enough history to estimate one.
  • Regtest addresses start with rnorth1. To start over, stop the node and delete the regtest folder in TrueNorth's data folder.
  • On Windows, the commands are truenorthd.exe and truenorth-cli.exe, and $ADDR becomes a pasted address.

The public test network (testnet4)

Testnet4 is shared by everyone testing TrueNorth: real peers, real blocks every two minutes, and coins with no value. Use it to try your software against other nodes and wallets before mainnet.

truenorthd -testnet4 -daemon
truenorth-cli -testnet4 getblockchaininfo

Nodes from v30.5.4 find testnet4 peers by themselves, and the chain is small, so it syncs in minutes. Get coins from the testnet faucet, or mine some: testnet4's total hashrate is tiny, so one computer finds blocks quickly. Testnet4 is reset now and then (the last reset). TrueNorth's testnet guide has the details.

Networks at a glance

NetworkOptionAddresses startP2P portRPC port
Mainnet(none)north195559554
Testnet4-testnet4tnorth414955549554
Signet-signetsnorth13955538332
Regtest-regtestrnorth11844418443

Default addresses are P2QRH, with a z after the 1 (for example north1z…). Each network keeps its data in its own folder inside TrueNorth's data folder: ~/.truenorth on Linux, ~/Library/Application Support/TrueNorth on macOS, %LOCALAPPDATA%\TrueNorth on Windows.

References

Get paid to build

The bounty board lists tasks people will pay NORTH for, and anyone can post one.