Skip to content
Dmitry Olegovich Sorokin (@sorydima) edited this page Sep 21, 2025 · 2 revisions

REChain Core Ultra Wiki

REChain Logo


🌐 Introduction

REChain Blockchain Network is a fully decentralized platform designed to bring security, transparency, and automation to real estate, finance, and asset management industries.

It provides:

  • Smart contracts for trustless agreements
  • Asset tokenization for digital representation
  • Governance modules for community-driven decisions
  • Blockchain infrastructure for secure decentralized operations

πŸ” REChain Core Overview

GitHub Repository

The Core repository includes:

  • Blockchain infrastructure
  • Smart contract library
  • Deployment and test scripts
  • Demo applications
  • Developer tools and utilities

πŸ—οΈ Architecture Overview

1. High-Level Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Frontend DApps β”‚ β”‚ (Web, Mobile, Desktop) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ API / SDK Layer β”‚ β”‚ (REST, GraphQL, RPC) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ REChain Core β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ β”‚ contracts/ β”‚ β”‚ β”‚ β”‚ scripts/ β”‚ β”‚ β”‚ β”‚ test/ β”‚ β”‚ β”‚ β”‚ tools/ β”‚ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ Blockchain Nodes β”‚ β”‚ (Consensus, Ledger, P2P) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜


### 2. Node and Consensus Diagram

  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚ Validator  β”‚
  β”‚  Node A    β”‚
  β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
        β”‚
        β–Ό
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚ Validator  β”‚
  β”‚  Node B    β”‚
  β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
        β”‚
        β–Ό
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  β”‚ Validator  β”‚
  β”‚  Node C    β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Consensus: PoS + Governance Voting


---

## πŸ”§ Repository Structure

Core/ β”œβ”€ contracts/ # Smart contracts β”œβ”€ demo/ # DApp demos β”œβ”€ docs/ # Guides, tutorials, API reference β”œβ”€ scripts/ # Deployment & utilities β”œβ”€ test/ # Unit & integration tests β”œβ”€ tools/ # Developer tools └─ README.md


### Example Contracts

- **Token.sol** – ERC20 / ERC721 token standard implementation  
- **AssetManager.sol** – Asset creation, transfer, and management  
- **Governance.sol** – Voting and proposals  

---

## πŸš€ Getting Started

### 1. Clone Repository

```bash
git clone https://github.com/REChain-Network-Solutions/Core.git
cd Core

2. Install Dependencies

npm install
# Optional: Docker for local blockchain simulation
docker-compose up

3. Run Demo Applications

cd demo
npm start

4. Run Tests

npm test

5. Deploy Contracts

cd scripts
node deploy.js --network local

πŸ’‘ Smart Contract Deployment

  1. Compile:
npx hardhat compile
  1. Deploy:
npx hardhat run scripts/deploy.js --network localhost
  1. Verify:
npx hardhat verify --network testnet <DEPLOYED_CONTRACT_ADDRESS>
  1. Interact:
const token = await Token.at("<DEPLOYED_CONTRACT_ADDRESS>");
await token.mint("0xAddress", 1000);

πŸ’° Tokenomics

  • Asset Tokenization: Real-world assets β†’ digital tokens
  • Stablecoin: Bonded stablecoins for liquidity
  • Governance Tokens: Stake & vote on proposals
  • Transaction Fees: Paid in native REChain token β†’ validator rewards

Token Flow Diagram

 [User] 
   β”‚
   β–Ό
 [Frontend DApp] 
   β”‚
   β–Ό
 [Smart Contract] 
   β”‚
   β–Ό
 [Blockchain Ledger] 
   β”‚
   β–Ό
 [Validator Nodes]
   β”‚
   β–Ό
 [Stakers & Governance Voting]

🌐 Governance Model

  • OIPs: Proposals for network changes
  • Voting: Token-based community voting
  • Validators: Stake REChain tokens to validate transactions
  • Upgrade Flow: Proposal β†’ Voting β†’ Deployment

Governance ASCII Diagram

[Community Proposal] 
       β”‚
       β–Ό
   [OIP Review]
       β”‚
       β–Ό
   [Voting by Token Holders]
       β”‚
       β–Ό
   [Approved β†’ Implemented]

πŸ›  API Example

Get Token Balance

GET /api/v1/token/balance?address=0xABC123
Host: api.rechain.network

Response JSON

{
  "address": "0xABC123",
  "balance": 1500,
  "token": "REToken"
}

πŸ’» DApp Integration Example

import { REChainProvider, TokenContract } from 'rechain-sdk';

const provider = new REChainProvider("https://testnet.rechain.network");
const token = new TokenContract(provider, "<TOKEN_ADDRESS>");

async function getBalance(address) {
    const balance = await token.balanceOf(address);
    console.log(`Balance: ${balance}`);
}

πŸ”§ Developer Best Practices

  • Modular smart contract design
  • Write unit tests for every contract
  • Document in docs/
  • Submit PRs to develop branch
  • Engage with community via GitHub or Telegram

πŸ“‚ Related Projects


πŸ’¬ Community & Support


⚑ Contribution Guidelines

  1. Fork β†’ Create branch β†’ Implement changes
  2. Run tests β†’ Submit PR to develop branch
  3. Participate in code review

πŸ“ License

MIT License – See [LICENSE](https://github.com/REChain-Network-Solutions/Core/blob/main/LICENSE)


πŸ“š Additional Resources


This is a living document and will continue to expand as REChain Core evolves.