-
Notifications
You must be signed in to change notification settings - Fork 0
Home
-
Introduction
-
Vision & Goals
-
Architecture Overview
-
Core Components & Modules
-
Substrate / FRAME / Runtime
-
Cumulus & Parachains
-
XCM / Cross‑chain Messaging
-
Bridges
-
Templates
-
Scripts & Tooling
-
-
Releases & Versioning
-
Getting Started / Quickstart
-
Development Workflow
-
APIs & Interfaces
-
Security & Best Practices
-
Contributing & Governance
-
Roadmap & Future Directions
-
Appendix
-
Glossary
-
External Resources
-
Changelog Highlights
-
Examples & Tutorials
The REChain SDK repository is the core software development kit for building on Rechain, a multi-chain blockchain platform that enables different blockchains to interoperate and share information securely and scalably.
This repository houses the building blocks needed for both the core Rechain network and its parachains, including runtimes, frameworks, tooling, cross-chain communication modules, and templates.
The SDK is built largely on top of Substrate and Cumulus (the parachain framework for Polkadot / Substrate ecosystems).
-
Provide a modular, reusable, battle-tested SDK for building blockchains and parachains that are interoperable.
-
Enable developers to bootstrap chains quickly using templates and scaffolding.
-
Offer robust cross-chain communication (via XCM, bridges, etc.).
-
Maintain security, upgradeability, and maintainability.
-
Support multi-chain interoperability in the Rechain ecosystem.
+-----------------------+
| Application-level / UI |
+-----------------------+
│
▼
+-------------------------+
| Runtime / FRAME Pallets |
+-------------------------+
│
▼
+-------------------------+
| Cumulus / Parachain Logic|
+-------------------------+
│
▼
+-------------------------+
| XCM / Cross-chain Layer |
+-------------------------+
│
▼
+-------------------------+
| Bridges / External Chains|
+-------------------------+
-
Runtime / FRAME Pallets: The heart of chain logic (governance, token, consensus, modules).
-
Cumulus / Parachain Logic: Parachain-specific primitives, parachain handshake, collator logic, etc.
-
XCM Layer: Messaging framework to send messages between chains.
-
Bridges: Connect Rechain with external chains (Ethereum, others).
Module / Directory | Purpose / Key Contents | Comments / Notes |
---|---|---|
substrate/ | Core Substrate-based crates (runtime, pallets) | FRAME pallets, runtime logic, chain-specific logic. |
cumulus/ | Parachain / collator logic | Integration with Cumulus, parachain handling, consensus bridging. |
bridges/ | Bridge modules | Modules for bridging Rechain to other blockchains / external networks. |
templates/ | Project scaffolding / starter templates | Ready-to-go starting points for new chains built using REChain SDK. |
scripts/ | Automation and utility scripts | Bootstrapping, CI tasks, deployment, etc. |
rechain/ | Core chain code or configuration | Contains network-level settings or rechain-specific logic. |
docs/ | Documentation content | Guides, tutorials, technical docs. |
docker/ | Containerized environments | For spinning up nodes, local networks, etc. |
prdoc/ | Documentation tooling | Generating docs or managing documentation. |
Notable Tools / Utilities:
-
Rechain SDK Version Manager: Manages and updates SDK dependencies in
Cargo.toml
. -
psvm: Tool for aligning crate versions to specific SDK release cycles.
-
Quarterly release cycle, versions named
stableYYMM
. -
Each stable release supported with patches for one year.
-
Version tracking via Release Registry and
RELEASE.md
. -
Upgrade assistance via Rechain SDK Version Manager or
psvm
.
Bootstrap a development node quickly:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/REChain-Network-Solutions/SDK/master/scripts/getting-started.sh | bash
Additional resources:
-
Docs Portal: docs.rechain.network
-
Rust API Docs: REChain‑Network‑Solutions.github.io
-
Templates: located in
templates/
-
Clone the repo:
git clone https://github.com/REChain-Network-Solutions/SDK.git cd SDK
-
Pick a template or start from scratch.
-
Add or modify pallets in
substrate/
. -
Configure parachain logic in
cumulus/
. -
Set up cross-chain messaging and bridges.
-
Sync dependencies with version tools.
-
Build & test with
cargo
ormake
. -
Run nodes via Docker or native binaries.
-
Generate / update docs.
-
Contribute via PRs following repo guidelines.
-
Release versions with proper tagging and changelogs.
-
Traits, types, functions exposed via FRAME pallets.
-
Runtime extrinsics & RPC endpoints.
-
Cross-chain messaging (XCM) interfaces.
-
Native XCM support for chain-to-chain messaging.
-
Safe, verifiable message passing.
-
Token/account mapping.
-
Event watchers / relayers.
-
Verification & proof handling.
-
Security policy: in
docs/contributor/SECURITY.md
. -
Key practices:
-
Runtime upgrades with proper migrations.
-
Validation of XCM messages.
-
Replay protection in bridges.
-
Access control in pallets.
-
Audits, fuzzing, and formal verification.
-
-
Guidelines:
CONTRIBUTING.md
. -
Community norms: Contributor Covenant Code of Conduct.
-
Issues labeled
mentor
are starter-friendly. -
Contributions may be rewarded with on‑chain tips.
-
Enhanced interoperability.
-
More bridge protocols.
-
Expanded templates and examples.
-
Performance optimizations.
-
Ecosystem tooling (monitoring, analytics).
-
Security audits and formal verification.
-
SDK: Software Development Kit
-
FRAME: Substrate’s modular runtime framework
-
Cumulus: Parachain framework for Substrate
-
XCM: Cross‑Consensus Messaging
-
Pallet: Modular runtime component
-
Bridge: Connects two blockchains
-
Parachain: A blockchain connected to a relay chain
-
Docs Portal: docs.rechain.network
-
Rust API Docs: REChain‑Network‑Solutions.github.io
-
Substrate / Polkadot developer documentation
-
Refer to
CHANGELOG.md
for major and breaking updates.
-
Provided under
templates/
. -
Additional guides available via docs portal.
# REChain SDK — Wiki / Documentation
-
Introduction
-
Vision & Goals
-
Architecture Overview
-
Core Components & Modules
- Substrate / FRAME / Runtime
- Cumulus & Parachains
- XCM / Cross‑chain Messaging
- Bridges
- Templates
- Scripts & Tooling
-
Releases & Versioning
-
Getting Started / Quickstart
-
Development Workflow
-
APIs & Interfaces
-
Security & Best Practices
-
Contributing & Governance
-
Roadmap & Future Directions
-
Appendix
-
Glossary
-
External Resources
-
Changelog Highlights
-
Examples & Tutorials
The REChain SDK repository is the core software development kit for building on Rechain, a multi-chain blockchain platform that enables different blockchains to interoperate and share information securely and scalably.
This repository houses the building blocks needed for both the core Rechain network and its parachains, including runtimes, frameworks, tooling, cross-chain communication modules, and templates.
The SDK is built largely on top of Substrate and Cumulus (the parachain framework for Polkadot / Substrate ecosystems).
- Provide a modular, reusable, battle-tested SDK for building blockchains and parachains that are interoperable.
- Enable developers to bootstrap chains quickly using templates and scaffolding.
- Offer robust cross-chain communication (via XCM, bridges, etc.).
- Maintain security, upgradeability, and maintainability.
- Support multi-chain interoperability in the Rechain ecosystem.
+-----------------------+
| Application-level / UI |
+-----------------------+
│
▼
+-------------------------+
| Runtime / FRAME Pallets |
+-------------------------+
│
▼
+-------------------------+
| Cumulus / Parachain Logic|
+-------------------------+
│
▼
+-------------------------+
| XCM / Cross-chain Layer |
+-------------------------+
│
▼
+-------------------------+
| Bridges / External Chains|
+-------------------------+
- Runtime / FRAME Pallets: The heart of chain logic (governance, token, consensus, modules).
- Cumulus / Parachain Logic: Parachain-specific primitives, parachain handshake, collator logic, etc.
- XCM Layer: Messaging framework to send messages between chains.
- Bridges: Connect Rechain with external chains (Ethereum, others).
Module / Directory | Purpose / Key Contents | Comments / Notes |
---|---|---|
substrate/ |
Core Substrate-based crates (runtime, pallets) | FRAME pallets, runtime logic, chain-specific logic. |
cumulus/ |
Parachain / collator logic | Integration with Cumulus, parachain handling, consensus bridging. |
bridges/ |
Bridge modules | Modules for bridging Rechain to other blockchains / external networks. |
templates/ |
Project scaffolding / starter templates | Ready-to-go starting points for new chains built using REChain SDK. |
scripts/ |
Automation and utility scripts | Bootstrapping, CI tasks, deployment, etc. |
rechain/ |
Core chain code or configuration | Contains network-level settings or rechain-specific logic. |
docs/ |
Documentation content | Guides, tutorials, technical docs. |
docker/ |
Containerized environments | For spinning up nodes, local networks, etc. |
prdoc/ |
Documentation tooling | Generating docs or managing documentation. |
Notable Tools / Utilities:
-
Rechain SDK Version Manager: Manages and updates SDK dependencies in
Cargo.toml
. - psvm: Tool for aligning crate versions to specific SDK release cycles.
-
Quarterly release cycle, versions named
stableYYMM
. - Each stable release supported with patches for one year.
- Version tracking via Release Registry and
RELEASE.md
. - Upgrade assistance via Rechain SDK Version Manager or
psvm
.
Bootstrap a development node quickly:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/REChain-Network-Solutions/SDK/master/scripts/getting-started.sh | bash
Additional resources:
- Docs Portal: docs.rechain.network
- Rust API Docs: REChain‑Network‑Solutions.github.io
-
Templates: located in
templates/
-
Clone the repo:
git clone https://github.com/REChain-Network-Solutions/SDK.git cd SDK
-
Pick a template or start from scratch.
-
Add or modify pallets in
substrate/
. -
Configure parachain logic in
cumulus/
. -
Set up cross-chain messaging and bridges.
-
Sync dependencies with version tools.
-
Build & test with
cargo
ormake
. -
Run nodes via Docker or native binaries.
-
Generate / update docs.
-
Contribute via PRs following repo guidelines.
-
Release versions with proper tagging and changelogs.
- Traits, types, functions exposed via FRAME pallets.
- Runtime extrinsics & RPC endpoints.
- Cross-chain messaging (XCM) interfaces.
- Native XCM support for chain-to-chain messaging.
- Safe, verifiable message passing.
- Token/account mapping.
- Event watchers / relayers.
- Verification & proof handling.
-
Security policy: in
docs/contributor/SECURITY.md
. -
Key practices:
- Runtime upgrades with proper migrations.
- Validation of XCM messages.
- Replay protection in bridges.
- Access control in pallets.
- Audits, fuzzing, and formal verification.
- Guidelines:
CONTRIBUTING.md
. - Community norms: Contributor Covenant Code of Conduct.
- Issues labeled
mentor
are starter-friendly. - Contributions may be rewarded with on‑chain tips.
- Enhanced interoperability.
- More bridge protocols.
- Expanded templates and examples.
- Performance optimizations.
- Ecosystem tooling (monitoring, analytics).
- Security audits and formal verification.
- SDK: Software Development Kit
- FRAME: Substrate’s modular runtime framework
- Cumulus: Parachain framework for Substrate
- XCM: Cross‑Consensus Messaging
- Pallet: Modular runtime component
- Bridge: Connects two blockchains
- Parachain: A blockchain connected to a relay chain
- Docs Portal: [docs.rechain.network](https://docs.rechain.network)
- Rust API Docs: REChain‑Network‑Solutions.github.io
- Substrate / Polkadot developer documentation
- Refer to
CHANGELOG.md
for major and breaking updates.
- Provided under
templates/
. - Additional guides available via docs portal.