Pact 协议级去中心化节点。拉 Twitter / Farcaster / Discord 真实 KPI,EIP-712 签字, 多签上链。0.9% 协议费 pool 分润 + 议会 NFT 优先权 + 长期 protocol equity。
$ curl -fsSL https://site.gjs.ink/install-oracle.sh | bash
退出有 7 天 cooldown 后退回
月 $500k GMV / 5 oracles ≈ 150 PACT/月/oracle
早期 oracle 优先分配,长期 protocol equity
$ sudo apt update && sudo apt install -y docker.io docker-compose-plugin git
$ git clone https://github.com/hongnono-wdh/pact-protocol.git $ cd pact-protocol/oracle-node
ORACLE_PRIVATE_KEY=0x... ORACLE_NODE_INDEX=4 PACT_RPC_URL=https://pact-chain.gjs.ink PACT_CHAIN_ID=9777 PACT_ESCROW_ADDR=0x62Ff1Be5184f59de79b7fEb6B32a08832067A548 # Data source APIs (你自己掏钱) TWITTER_BEARER=... # $100/month paid tier FARCASTER_NEYNAR_KEY=... # 可选, free tier COORDINATOR_URL=https://pact-api.gjs.ink/api/v1/oracle COORDINATOR_SHARED_SECRET=... # admin 给你 POLL_INTERVAL_SECONDS=15 PORT=9001
$ docker compose up -d
$ curl http://localhost:9001/health
{
"status": "ok",
"signer": "0xYourOracleAddress",
"node_index": 4,
"uptime_seconds": 30,
"campaigns_signed_total": 0,
"data_source_status": {
"twitter": "ok",
"farcaster": "ok"
}
}
专门钱包不要主钱包。从 faucet 拿 5000 PACT (testnet) 或议会战略购入 (mainnet)。
$5/月 VPS 任意供应商。Twitter API v2 paid tier ($100/月)。Farcaster Neynar 免费。
Email [email protected] 告知:
admin 调 grantRole 给你钱包 + share coordinator secret。
填好 .env, 启动。
admin 验证你节点 health → 你开始 sign + 分润。