docs: update README with production blockchain setup
This commit is contained in:
29
README.md
29
README.md
@@ -89,28 +89,30 @@ aitbc marketplace list --translate-to french
|
|||||||
|
|
||||||
## 🔗 Blockchain Node (Brother Chain)
|
## 🔗 Blockchain Node (Brother Chain)
|
||||||
|
|
||||||
A minimal asset-backed blockchain that validates compute receipts and mints AIT tokens.
|
Production-ready blockchain with fixed supply and secure key management.
|
||||||
|
|
||||||
### ✅ Current Status
|
### ✅ Current Status
|
||||||
- **Chain ID**: `ait-devnet`
|
- **Chain ID**: `ait-mainnet` (production)
|
||||||
- **Consensus**: Proof-of-Authority (single proposer)
|
- **Consensus**: Proof-of-Authority (single proposer)
|
||||||
- **RPC Endpoint**: `http://localhost:8026/rpc`
|
- **RPC Endpoint**: `http://127.0.0.1:8026/rpc`
|
||||||
- **Health Check**: `http://localhost:8026/health`
|
- **Health Check**: `http://127.0.0.1:8026/health`
|
||||||
- **Metrics**: `http://localhost:8026/metrics` (Prometheus format)
|
- **Metrics**: `http://127.0.0.1:8026/metrics` (Prometheus format)
|
||||||
- **Status**: 🟢 Operational and fully functional
|
- **Status**: 🟢 Operational with immutable supply, no admin minting
|
||||||
|
|
||||||
### 🚀 Quick Launch
|
### 🚀 Quick Launch (First Time)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# 1. Generate keystore and genesis
|
||||||
cd /opt/aitbc/apps/blockchain-node
|
cd /opt/aitbc/apps/blockchain-node
|
||||||
source .venv/bin/activate
|
.venv/bin/python scripts/setup_production.py --chain-id ait-mainnet
|
||||||
bash scripts/devnet_up.sh
|
|
||||||
|
# 2. Start the node (production)
|
||||||
|
bash scripts/mainnet_up.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
The node starts:
|
The node starts:
|
||||||
- Proposer loop (block production)
|
- Proposer loop (block production)
|
||||||
- RPC API on port 8026
|
- RPC API on `http://127.0.0.1:8026`
|
||||||
- Mock coordinator on port 8090 (for testing)
|
|
||||||
|
|
||||||
### 🛠️ CLI Interaction
|
### 🛠️ CLI Interaction
|
||||||
|
|
||||||
@@ -123,11 +125,10 @@ aitbc blockchain head
|
|||||||
|
|
||||||
# Check balance
|
# Check balance
|
||||||
aitbc blockchain balance --address <your-address>
|
aitbc blockchain balance --address <your-address>
|
||||||
|
|
||||||
# Fund an address (devnet faucet)
|
|
||||||
aitbc blockchain faucet --address <your-address> --amount 1000
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Note**: The devnet faucet (`aitbc blockchain faucet`) has been removed. All tokens are allocated at genesis to the `aitbc1genesis` wallet.
|
||||||
|
|
||||||
For full documentation, see: [`apps/blockchain-node/README.md`](./apps/blockchain-node/README.md)
|
For full documentation, see: [`apps/blockchain-node/README.md`](./apps/blockchain-node/README.md)
|
||||||
|
|
||||||
## 🤖 Agent-First Computing
|
## 🤖 Agent-First Computing
|
||||||
|
|||||||
Reference in New Issue
Block a user