AGENT SKILL

Bankr Agent - Sign & Submit API

This skill should be used when the user asks to "sign a message", "sign typed data", "sign a transaction", "submit a transaction", "submit raw transaction", "personal_sign", "EIP-712", "eth_signTypedData", "eth_signTransaction", or any direct signing or transaction submission operation. Covers the synchronous /agent/sign and /agent/submit endpoints.

License 许可
Apache-2.0
最近更新
2026-07-02
Stars
★ 1
Forks
0

01 前言 Front Matter

name
Bankr Agent - Sign & Submit API
version
1.0.0
description
This skill should be used when the user asks to "sign a message", "sign typed data", "sign a transaction", "submit a transaction", "submit raw transaction", "personal_sign", "EIP-712", "eth_signTypedData", "eth_signTransaction", or any direct signing or transaction submission operation. Covers the synchronous /agent/sign and /agent/submit endpoints.

03 SKILL.md 正文

Sign & Submit API

Synchronous endpoints for signing messages and submitting transactions directly — no polling required.

Overview

Endpoint Purpose Returns
POST /agent/sign Sign messages, typed data, or transactions Signature
POST /agent/submit Submit raw transactions to chain Transaction hash

Unlike /agent/prompt (async with job polling), these endpoints return immediately.

POST /agent/sign

Sign data without broadcasting to the network.

Signature Types

Type Use Case
personal_sign Sign plain text messages (auth, verification)
eth_signTypedData_v4 Sign EIP-712 typed data (permits, orders)
eth_signTransaction Sign transactions for later broadcast

Prompt Examples

Sign a message:

  • "Sign this message: Hello World"
  • "Sign in to MyApp with nonce abc123"

Sign typed data (EIP-712 permit):

  • "Sign this EIP-712 permit for USDC approval"

Sign a transaction without broadcasting:

  • "Sign this transaction but don't send it"

Success Response

{
  "success": true,
  "signature": "0x...",
  "signer": "0xYourWalletAddress",
  "signatureType": "personal_sign"
}

Common Errors

Status Error Cause
400 Missing required field Missing message, typedData, or transaction
401 Authentication required Missing or invalid API key
403 Read-only API key Key lacks write permissions

POST /agent/submit

Submit raw transactions directly to the blockchain.

Transaction Fields

Field Required Description
to Yes Destination address
chainId Yes Chain ID (8453=Base, 1=Ethereum, 137=Polygon)
value No Value in wei (as string)
data No Calldata (hex string)
gas No Gas limit
waitForConfirmation No Wait for on-chain confirmation (default: true)

Prompt Examples

Submit a raw transaction:

  • "Submit this transaction on Base: {to: 0x..., data: 0x..., value: 0}"

Simple ETH transfer:

  • "Submit a transfer of 1 ETH to 0x..."

Success Response

With confirmation:

{
  "success": true,
  "transactionHash": "0x...",
  "status": "success",
  "blockNumber": "12345678",
  "gasUsed": "21000",
  "signer": "0xYourWalletAddress",
  "chainId": 8453
}

Transaction Status Values

Status Description
success Confirmed and succeeded
reverted Confirmed but reverted
pending Submitted, not yet confirmed

Use Cases

  • Authentication: Sign messages to verify wallet ownership
  • Gasless approvals: Sign EIP-2612 permits without gas
  • Pre-built transactions: Submit calldata from external tools
  • Multi-step workflows: Execute approve + swap in sequence

Comparison with /agent/prompt

Feature /agent/prompt /agent/sign /agent/submit
Input Natural language Structured data Transaction object
Response Async (job ID) Sync (signature) Sync (tx hash)
Executes on-chain Via AI agent No Yes
Best for General queries Auth, permits Raw transactions

Security Notes

  • /agent/submit executes immediately with no confirmation prompt
  • Validate all transaction parameters before submission
  • Use waitForConfirmation: true for important transactions
  • Read-only API keys cannot use these endpoints (403)

04 同仓库更多 Skills

enuno
enuno/crewless-capital

supermemory

Supermemory is a state-of-the-art memory and context infrastructure for AI agents. Use this skill when building applications that need persistent memory, user personalization, long-term context retention, or semantic search across knowledge bases. It provides Memory API for learned user context, User Profiles for static/dynamic facts, and RAG for semantic search. Perfect for chatbots, assistants, and knowledge-intensive applications.

★ 1
enuno
enuno/crewless-capital

wolverine-strategy

WOLVERINE v2.0 — HYPE alpha hunter. Entry-only scanner, DSL-exit-only architecture. v1.1 lost -22.7% because the scanner's thesis exit chopped 25/27 trades before DSL could manage them. v2.0 removes thesis exit entirely. Scanner decides entries (score 8+, 4H/1H aligned, SM consensus). DSL manages all exits (wide Phase 1 for HYPE volatility, trailing tiers starting at +15% ROE). Leverage lowered to 7x. Max 4 entries/day. 3-hour cooldown between entries. DSL exit managed by plugin runtime via runtime.yaml.

★ 1
enuno
enuno/crewless-capital

wolf-strategy

WOLF v6.3 — Fully autonomous multi-strategy trading for Hyperliquid perps via Senpi MCP. Manages multiple strategies simultaneously, each with independent wallets, budgets, slots, and DSL configs. 5+N cron architecture: 5 shared wolf crons (Emerging Movers 3min, SM Flip 5min, Watchdog 5min, Risk Guardian 5min, Health Check 10min) plus one DSL v5.2 cron per strategy (native Hyperliquid SL sync via dsl-dynamic-stop-loss skill v5.3.1). Same asset can be traded in different strategies simultaneously. Enter early on first jumps, not at confirmed peaks. Dynamic risk-based leverage per strategy. Requires Senpi MCP connection, python3, mcporter CLI, OpenClaw cron system, and dsl-dynamic-stop-loss skill (provides dsl-cli.py + dsl-v5.py).

★ 1
enuno
enuno/crewless-capital

wolf-howl

HOWL v2 — Hunt, Optimize, Win, Learn. Nightly self-improvement loop for the WOLF autonomous trading strategy. Runs once per day (via cron) to review all trades from the last 24 hours, compute win rates, analyze signal quality correlation, evaluate DSL tier performance, identify missed opportunities, and produce concrete improvement suggestions for the wolf-strategy skill. v2 adds fee drag ratio (FDR) analysis, holding period bucketing, LONG vs SHORT regime detection, rotation cost tracking, cumulative drift detection, and gross vs net profit factor separation. Use when setting up daily trade review automation, analyzing trading performance, or improving an autonomous trading strategy through data-driven feedback loops. Requires Senpi MCP connection, mcporter CLI, and OpenClaw cron system.

★ 1
enuno
enuno/crewless-capital

whale-index

Auto-mirror top Discovery traders on Hyperliquid. Scans top 50 traders, scores on PnL rank (35%), win rate (25%), consistency (20%), hold time (10%), drawdown (10%). Creates 2-5 mirror strategies with overlap checks. Daily rebalance with 2-day watch period before swaps. Use when setting up trader mirroring, copy trading, or portfolio auto-rebalancing based on Discovery leaderboard performance.

★ 1
enuno
enuno/crewless-capital

vixen-strategy

VIXEN v1.0 — Dual-mode emerging movers scanner. Built from FOX v1.6 live trading data (+34.5% ROI). Two entry modes: STALKER (steady accumulation, score 6+, catches the SM buildup BEFORE the explosion) and STRIKER (violent FIRST_JUMP, score 9+, with raw volume confirmation to filter blow-off tops). 2-hour per-asset cooldown after Phase 1 exits. DSL High Water Mode mandatory.

★ 1