تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

openfunderse-strategy

بواسطة wiimdy

Health & Fitness
657التنزيلات وفق ما يذكره clawskills.sh
6النجوم
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط