-
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 up
cd demo
npm start
npm test
cd 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.network
Response 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
develop
branch - 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
develop
branch - 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.