Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

openfunderse-strategy

bởi wiimdy

Health & Fitness
657Lượt tải do clawskills.sh công bố
6Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tó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ụ

ĐẦU VÀO

User asks: Submit allocation for fund 'demo-fund' epoch 3 with weights 7000, 3000

AGENT
  1. 1

    Resolves runtime env from /home/ubuntu/.openclaw/openclaw.json

  2. 2

    Calls propose_allocation with fundId, epochId, and targetWeights [7000, 3000]

  3. 3

    Validates AllocationClaimV1 schema and checks weights are non-negative integers with sum greater than 0

  4. 4

    Verifies canonical claim hash and checks relayer host against PARTICIPANT_TRUSTED_RELAYER_HOSTS

  5. 5

    Submits claim to POST /api/v1/funds/{fundId}/claims when the submit gate is satisfied

ĐẦU RA

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-strategy

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết