https://github.com/polytope-labs/sc-simnode
Fork your substrate-based blockchain state and run all kinds of simulation tests on the runtime.
https://github.com/polytope-labs/sc-simnode
blockchain parachain parachains polkadot runtime rust substrate testing wasm
Last synced: 10 months ago
JSON representation
Fork your substrate-based blockchain state and run all kinds of simulation tests on the runtime.
- Host: GitHub
- URL: https://github.com/polytope-labs/sc-simnode
- Owner: polytope-labs
- License: apache-2.0
- Created: 2021-12-17T01:24:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-19T14:08:51.000Z (about 1 year ago)
- Last Synced: 2025-01-28T09:04:43.191Z (12 months ago)
- Topics: blockchain, parachain, parachains, polkadot, runtime, rust, substrate, testing, wasm
- Language: Rust
- Homepage: https://simnode.polytope.technology
- Size: 3.18 MB
- Stars: 49
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dot - Simnode - Simulation Testing Framework for Parachains and Standalone Substrate Based (Libraries / Multisig Wallets)
README
# sc-simnode  [](https://t.me/sc_simnode) [](https://discord.gg/2vbPnFwg8h) 

> 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:
- [x] Test complex pallets that require a full runtime, not a mocked runtime.
- [x] Test a combination of both onchain & offchain components (eg offchain workers)
- [x] Fork your live chain state and execute transactions from any origin.
- [x] Simulate runtime upgrades & migrations.
## Documentation
Installation and integration guides can be found in the [book](https://simnode.polytope.technology). Example integrations are provided for runtimes of all different kinds:
- [x] [Standalone Chain](/examples/aura), AURA leader election, GRANDPA consensus.
- [X] [Standalone Chain](/examples/babe), BABE leader election, GRANDPA consensus.
- [X] [Parachain](/examples/parachain), AURA leader election, Polkadot Consensus.
## Releases
`sc-simnode` exclusively follows the official [paritytech/polkadot-sdk](https://github.com/paritytech/polkadot-sdk/releases) stable releases. Therefore new versions of this crate will be published as a new major release for the minor version of the corresponding polkadot-sdk stable release.
E.g [`polkadot-stable2409`](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2409) corresponds to the [`polkadot-sdk-v1.160`](https://github.com/paritytech/polkadot-sdk/releases/tag/polkadot-v1.16.0) tag, which is supported by the `v16.0.0` version of this crate. Subsequent stable releases will see a major version bump in this crate.
## License
This library is licensed under the Apache 2.0 License, Copyright (c) 2023 Polytope Labs.