Skip to content

Fork your substrate-based blockchain state and run all kinds of simulation tests on the runtime.

License

Notifications You must be signed in to change notification settings

polytope-labs/sc-simnode

Repository files navigation

sc-simnode Unit Tests Telegram: YourGroup Discord: YourServer Crates.io Version

alt text

I'm trying to free your mind, Neo. But I can only show you the door. You're the one that has to walk through it.


This library exists to allow substrate developers to:

  • Test complex pallets that require a full runtime, not a mocked runtime.
  • Test a combination of both onchain & offchain components (eg offchain workers)
  • Fork your live chain state and execute transactions from any origin.
  • Simulate runtime upgrades & migrations.

Documentation

Installation and integration guides can be found in the book. Example integrations are provided for runtimes of all different kinds:

Releases

sc-simnode exclusively follows the official paritytech/polkadot-sdk stable releases. Therefore new versions of this crate will be published with the same semver version of the corresponding polkadot-sdk stable release.

License

This library is licensed under the Apache 2.0 License, Copyright (c) 2023 Polytope Labs.