openfunderse-strategy
bởi wiimdy
Health & FitnessTóm tắt
Participant MoltBot for allocation proposal, validation, and submission.
Mô tả
Kỹ năng này làm gì
Runs a participant bot for the openfunderse protocol that proposes, validates, and submits AllocationClaimV1 to a relayer. Supports manual allocation submission via Telegram slash commands and an autonomous daemon mode that reads live market signals and submits claims on a timer. Operates within the OpenClaw runtime using EIP-191 signature authentication.
The built-in daemon mode with three selectable strategies automates per-epoch allocation submissions based on live NadFun testnet signals, removing the need for manual intervention each round.
Khi nào nên dùng
- Submitting allocation weight proposals for a specific fund epoch
- Running an automated allocation daemon using momentum, graduation-proximity, or impact-aware strategies
- Dry-run validating an allocation claim before committing it to the relayer
- Depositing or withdrawing assets from a vault using Telegram slash commands
- Rotating a participant signer key without touching treasury or admin keys
Quy trình ví dụ
User asks: Submit allocation for fund 'demo-fund' epoch 3 with weights 7000, 3000
- 1
Resolves runtime env from /home/ubuntu/.openclaw/openclaw.json
- 2
Calls propose_allocation with fundId, epochId, and targetWeights [7000, 3000]
- 3
Validates AllocationClaimV1 schema and checks weights are non-negative integers with sum greater than 0
- 4
Verifies canonical claim hash and checks relayer host against PARTICIPANT_TRUSTED_RELAYER_HOSTS
- 5
Submits claim to POST /api/v1/funds/{fundId}/claims when the submit gate is satisfied
AllocationClaimV1 accepted by relayer with confirmation response
Yêu cầu
- PARTICIPANT_PRIVATE_KEY environment variable (dedicated wallet private key)
- RELAYER_URL environment variable (openfunderse relayer endpoint)
- BOT_ID environment variable (registered bot identifier)
- RPC_URL environment variable (blockchain RPC endpoint)
- CHAIN_ID environment variable
Cài đặt
clawhub install wiimdy/openfunderse-strategyChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.