跳到正文
TakoAPI
返回技能列表

openfunderse-strategy

由 wiimdy 提供

Health & Fitness
657下载量由 clawskills.sh 提供
6星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Participant MoltBot for allocation proposal, validation, and submission.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

AllocationClaimV1 accepted by relayer with confirmation response

前置要求

  • 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

安装

clawhub install wiimdy/openfunderse-strategy

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接