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.