Polkadot Playground

A testing and deployment tool for constructing local cross-chain environments, deploying code at startup, and building actors that interface and control the chains.

Existing/Related Work

ZombieNet: A CLI-based tool for spawning Polkadot/Substrate based networks and running tests against them

polkadot-launch: more basic spawner for Polkadot network & parachains

subxt: Rust API interface generation based on Substrate runtime metadata

Goals

  1. Usable in unit-testing and in a 'tinkering' environment like a hackathon
  2. Designed for developers of parachains, smart contracts, and bots to test their code in a sandbox environment where they control the setup
  3. Phased initialization, run, and teardown logic
  4. Tools for randomizing protocol states
  5. Local and cluster deployments
  6. Tutorials: it should be possible to teach basic usage in 1 hour or a few brief articles
  7. Code reusability: bots and logic written to interface with real networks should be able to interface with the test network as well
  8. Community extensions: common utilities for creating and administrating test versions of real networks (e.g. Moonbeam + deploy smart contract or Acala + simulated aUSD activity), opening XCMP channels, and other common patterns.
  9. Administration APIs for the relay chain: spawning auctions, auction participants with configurable strategies, sending XCM messages.
  10. Write actors in Rust or JavaScript
  11. If possible, this should use ZombieNet or be part of it.
Select a repo