Testing
Pastel provides testing tools designed to let developers test their applications with reduced risks and limitations.
Testnet
All Pastel Core programs default to the main network when run with no arguments. However, for development, it’s both; safer and cheaper to use Pastel’s test network(testnet) where the PSL spent have no real-world value. Testnet also relaxes some restrictions (such as standard transaction checks) so you can test functions which might currently be disabled by default on mainnet.
To use testnet, use the argument -testnet
with pastel-cli
, pasteld
or add testnet=1
to your pastel.conf
file. To get free PSL for testing, use Pastel's Testnet faucet. is a public resource provided for free by members of the community, so please don’t abuse it.
You would need to have a valid Pastel ID in order to test walletnode APIs. Follow this quick start guide to create and register your own Pastel ID.
Regnet
For situations where interaction with random peers and blocks is unnecessary or unwanted, Pastel Core’s regression test mode (regtest mode) lets you instantly create a brand-new private block chain with the same basic rules as testnet—but one major difference is that you have complete control over the environment.
use the argument -regnet
with pastel-cli
, pasteld
or add regnet=1
to your pastel.conf
file.
Last updated