Pastel Network
  • Introduction
    • Pastel Overview
    • Pastel Token (PSL)
    • PSL Token Economics
    • Pastel Consensus Protocol
    • Key Features
  • Basics
    • Smart Ticket Structure
    • Fees and Burn
    • SuperNodes
      • SuperNode Staking
      • SuperNode States & Implications for Stake
      • SuperNode Operator Selection
      • SuperNode Fees
    • Governance
    • Accounts
  • Development Guide
    • Types of Pastel installations
      • Pastel Network Architecture
    • Requirements
      • Default directories
    • QuickStart: Running a Node
    • WalletNode
      • API
        • Sense API
        • Cascade API
        • NFT API
      • GRPC Interface
    • SuperNode
      • GRPC Interface
    • Pasteld Daemon
      • Pasteld CLI Implementation
      • Pasteld JSON-RPC API
    • Pastel-CLI
    • Understanding Smart Tickets
      • NFT Tickets
      • PastelID Tickets
    • Testing
    • Tutorials
      • Pastel Wallet App
    • Public Endpoints & Resources
    • Configurations
  • Sense Protocol
    • Sense Overview
    • Sense Basics
    • Building with Sense API
  • Cascade Protocol
    • Cascade Overview
    • Cascade Basics
    • Building with Cascade API
Powered by GitBook
On this page
  • Testnet
  • Regnet

Was this helpful?

Export as PDF
  1. Development Guide

Testing

PreviousPastelID TicketsNextTutorials

Last updated 2 years ago

Was this helpful?

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 . 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 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.

Pastel's Testnet faucet
quick start guide