-
Notifications
You must be signed in to change notification settings - Fork 0
Home
REChain Core Ultra Wiki
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
The Core repository includes:
- Blockchain infrastructure
- Smart contract library
- Deployment and test scripts
- Demo applications
- Developer tools and utilities
┌───────────────────────────────┐ │ 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
npm install
# Optional: Docker for local blockchain simulation
docker-compose upcd demo
npm startnpm testcd scripts
node deploy.js --network local- Compile:
npx hardhat compile- Deploy:
npx hardhat run scripts/deploy.js --network localhost- Verify:
npx hardhat verify --network testnet <DEPLOYED_CONTRACT_ADDRESS>- Interact:
const token = await Token.at("<DEPLOYED_CONTRACT_ADDRESS>");
await token.mint("0xAddress", 1000);- 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
[User]
│
▼
[Frontend DApp]
│
▼
[Smart Contract]
│
▼
[Blockchain Ledger]
│
▼
[Validator Nodes]
│
▼
[Stakers & Governance Voting]
- OIPs: Proposals for network changes
- Voting: Token-based community voting
- Validators: Stake REChain tokens to validate transactions
- Upgrade Flow: Proposal → Voting → Deployment
[Community Proposal]
│
▼
[OIP Review]
│
▼
[Voting by Token Holders]
│
▼
[Approved → Implemented]
Get Token Balance
GET /api/v1/token/balance?address=0xABC123
Host: api.rechain.networkResponse JSON
{
"address": "0xABC123",
"balance": 1500,
"token": "REToken"
}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}`);
}- Modular smart contract design
- Write unit tests for every contract
- Document in
docs/ - Submit PRs to
developbranch - Engage with community via GitHub or Telegram
- [REChain OIPs](https://github.com/rechain-network-solutions/oips)
- [Bonded Stable Coin](https://github.com/rechain-network-solutions/bonded-stablecoin)
- [Autonomous Agent Statistics](https://github.com/rechain-network-solutions/aa-statistics)
- GitHub Discussions – Developer Q&A
- Telegram – https://t.me/rechainnetwork
- Email – [[email protected]](mailto:[email protected])
- Documentation – https://docs.rechain.network/
- Fork → Create branch → Implement changes
- Run tests → Submit PR to
developbranch - Participate in code review
MIT License – See [LICENSE](https://github.com/REChain-Network-Solutions/Core/blob/main/LICENSE)
- [Whitepaper PDF](https://github.com/REChain-Network-Solutions/Core/raw/main/docs/REChain_Whitepaper.pdf)
- [Glossary](https://github.com/REChain-Network-Solutions/Core/blob/main/docs/Glossary.md)
- [Tutorials](https://docs.rechain.network/tutorials)
- [Architecture Diagrams](https://docs.rechain.network/architecture)
This is a living document and will continue to expand as REChain Core evolves.