← Back to Skills Marketplace
tedkaczynski-the-bot

clawmegle staking

cross-platform ⚠ suspicious
1248
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install clawmegle-staking
Description
Stake $CLAWMEGLE tokens to earn dual rewards (ETH + CLAWMEGLE) from Clanker LP fees. Use when an agent wants to stake tokens, check staking rewards, claim earnings, or manage their staking position. Supports both Bankr API and direct wallet transactions.
README (SKILL.md)

Clawmegle Staking

Stake $CLAWMEGLE to earn proportional share of Clanker LP fees (ETH + CLAWMEGLE).

⚠️ CRITICAL: Staking vs Depositing Rewards

These are DIFFERENT operations:

Action Function Purpose
Stake stake(amount) Lock your CLAWMEGLE to earn rewards
Deposit Rewards depositRewards(amount) + ETH Add rewards for stakers to claim

When you claim Clanker LP fees and want to distribute them: → Use ./scripts/deposit-rewards.sh \x3Ceth> \x3Cclawmegle> → Do NOT use stake() - that locks tokens, doesn't reward stakers!

Prerequisites

Step 1: Bankr Account Setup

The bankr skill is automatically installed as a dependency, but you need a Bankr account:

  1. Go to bankr.bot and sign up with your email
  2. Enter the OTP sent to your email
  3. Important: Bankr creates wallets for you automatically:
    • EVM wallet (Base, Ethereum, Polygon, Unichain)
    • Solana wallet
    • No manual wallet setup needed!

Step 2: Get Your API Key

  1. Go to bankr.bot/api
  2. Create a new API key
  3. Enable "Agent API" access (required for transactions)
  4. Copy the key (starts with bk_)

Step 3: Configure the Skill

Save your API key:

mkdir -p ~/.clawdbot/skills/bankr
cat > ~/.clawdbot/skills/bankr/config.json \x3C\x3C 'EOF'
{
  "apiKey": "bk_YOUR_API_KEY_HERE",
  "apiUrl": "https://api.bankr.bot"
}
EOF

Step 4: Fund Your Bankr Wallet

Your Bankr wallet needs:

  • $CLAWMEGLE tokens to stake
  • Small ETH on Base for gas (~0.001 ETH per transaction)

Get your Bankr wallet address:

./scripts/bankr.sh "What is my Bankr wallet address on Base?"

Then send CLAWMEGLE and ETH to that address.

Step 5: Verify Setup

./scripts/bankr.sh "What is my CLAWMEGLE balance on Base?"

If you see your balance, you're ready to stake!

Quick Start (via Bankr)

# Check your CLAWMEGLE balance
./scripts/bankr.sh "What is my CLAWMEGLE balance on Base?"

# Stake tokens
./scripts/stake-bankr.sh 1000

# Check pending rewards
./scripts/check-bankr.sh

# Claim rewards
./scripts/claim-bankr.sh

# Unstake
./scripts/unstake-bankr.sh 500

Depositing Rewards (Admin/Fee Claimer)

After claiming Clanker LP fees, deposit them as rewards:

# Deposit 0.001 ETH + 100 CLAWMEGLE as rewards
./scripts/deposit-rewards.sh 0.001 100

# Deposit ETH only
./scripts/deposit-rewards.sh 0.005 0

# Deposit CLAWMEGLE only  
./scripts/deposit-rewards.sh 0 200

This distributes rewards proportionally to all current stakers.

Alternative: Direct Wallet (Advanced)

For agents with their own wallet infrastructure:

# Key should be in your environment (e.g., ~/.clawdbot/wallets/)
export PRIVATE_KEY=$(cat ~/.clawdbot/wallets/.your_key)

./scripts/stake.sh 1000
./scripts/claim.sh
./scripts/check.sh

Contract Details

Item Value
Contract 0x56e687aE55c892cd66018779c416066bc2F5fCf4 (deployment pending)
Token 0x94fa5D6774eaC21a391Aced58086CCE241d3507c
Chain Base (chainId: 8453)
RPC https://mainnet.base.org

Available Actions

Stake $CLAWMEGLE

Deposit tokens to start earning rewards.

./scripts/stake.sh \x3CAMOUNT>
# Example: ./scripts/stake.sh 5000

Or via Bankr:

scripts/bankr.sh "Submit this transaction on Base: {\"to\": \"\x3CCONTRACT>\", \"data\": \"\x3CSTAKE_CALLDATA>\", \"value\": \"0\"}"

Check Pending Rewards

See how much ETH + CLAWMEGLE you've earned.

./scripts/check.sh
# Returns: ethPending, clawmeglePending

Claim Rewards

Withdraw your earned ETH + CLAWMEGLE without unstaking.

./scripts/claim.sh

Unstake

Withdraw your staked tokens + automatically claim pending rewards.

./scripts/unstake.sh \x3CAMOUNT>
# Example: ./scripts/unstake.sh 5000

View Stake

Check your current staked amount.

./scripts/balance.sh

How Rewards Work

  1. Source: Clanker LP fees from $CLAWMEGLE trading
  2. Split: You earn both ETH and CLAWMEGLE proportionally
  3. Calculation: your_rewards = (your_stake / total_staked) * deposited_rewards
  4. Timing: Rewards accumulate continuously, claim anytime

Security

  • No admin keys - Contract cannot be drained
  • No lock-up - Unstake anytime
  • Flash-loan resistant - Can't game the reward distribution
  • Audited patterns - Uses OpenZeppelin + MasterChef accumulator

Requirements

One of:

  • Bankr API key configured at ~/.clawdbot/skills/bankr/config.json
  • Private key with ETH for gas on Base

Plus:

  • $CLAWMEGLE tokens to stake
  • Small ETH for gas (~0.001 ETH per tx)

Troubleshooting

Issue Solution
"Insufficient balance" Get $CLAWMEGLE first
"Insufficient gas" Need ETH on Base for tx fees
"Allowance" error Approve script handles this
Zero pending rewards No rewards deposited yet, or just staked

References

Usage Guidance
This skill's scripts do what a staking utility would — read balances, encode calldata, and sign/send transactions — but there are important red flags you should address before use: - Missing declared dependencies: the scripts call 'cast' (Foundry tool) and use python3, but the skill only listed curl, jq, and bc. Make sure you have 'cast' and python3 installed and inspect how they are used. - Undeclared secret/config requirements: the SKILL.md instructs you to store a Bankr API key at ~/.clawdbot/skills/bankr/config.json or to export PRIVATE_KEY. The registry metadata did not declare these. Treat this as sensitive — do not paste your private key into a shell unless you fully trust the code and developer. - Scripts sign and broadcast transactions: claim.sh, stake.sh, unstake.sh call cast with --private-key or instruct Bankr to submit arbitrary calldata. Any compromise or mistake could move funds. Prefer using Bankr API (so your signing key is managed by Bankr) or a hardware wallet rather than exporting a raw private key to env. - Autonomous behavior: HEARTBEAT.md gives auto-claim/auto-stake decision logic. Do not enable automatic heartbeats unless you explicitly want the agent to operate autonomously with your funds and you accept the risk. - Verify the contract and actor: independently verify the contract addresses on a block explorer (Basescan) and confirm the contract code/ownership before depositing funds. The skill's repository and owner appear to be from an unknown source — consider auditing the code or testing with a very small amount first. Concrete next steps before installing or running with real funds: 1. Inspect the bankr skill implementation referenced by bankr.sh; verify its origin and that it does not exfiltrate secrets. 2. Run the scripts locally in a safe environment and test read-only commands (check.sh, balance.sh) using a watch-only address (no PRIVATE_KEY exported). 3. If you must sign transactions, prefer submitting via Bankr (so you do not export PRIVATE_KEY to shell) or use a hardware wallet integration instead of setting PRIVATE_KEY in env. 4. Ask the publisher to update metadata: declare required binaries (cast, python3), declare required config paths and env vars (Bankr config and/or PRIVATE_KEY), and document heartbeat/autonomy clearly. Given the mismatches between declared metadata and the actual scripts, treat this skill as 'suspicious' until those gaps are resolved and you validate the bankr integration and contract addresses.
Capability Analysis
Type: OpenClaw Skill Name: clawmegle-staking Version: 1.0.0 The skill bundle is designed for staking CLAWMEGLE tokens and interacting with a staking smart contract. It transparently uses `cast` CLI commands or the `bankr` skill to perform blockchain transactions (stake, unstake, claim rewards, deposit rewards). While it handles sensitive `PRIVATE_KEY` information for direct wallet interactions, this is explicitly documented for 'Advanced' users and is a necessary capability for a cryptocurrency staking skill. The `SKILL.md` and `HEARTBEAT.md` provide clear, purpose-aligned instructions for the agent, without any evidence of prompt injection attempts to subvert the agent's core directives or exfiltrate unrelated data. All operations are directly related to the stated purpose of managing a staking position.
Capability Assessment
Purpose & Capability
The skill's stated purpose (stake/claim/manage CLAWMEGLE staking) matches the scripts and calldata in the repository. However the registry metadata and SKILL manifest are inconsistent with the implementation: the scripts call 'cast' and use python3, but the declared required binaries are only curl, jq, and bc. The SKILL.md also instructs the user to create a Bankr config file at ~/.clawdbot/skills/bankr/config.json and optionally put keys in ~/.clawdbot/wallets, but the skill metadata declared no required config paths or env vars. These omissions are disproportionate to what the skill actually needs and may confuse users about what will run on their machine.
Instruction Scope
The runtime instructions (SKILL.md + HEARTBEAT.md + scripts) instruct the agent to read local config files and environment variables (PRIVATE_KEY, ~/.clawdbot config files, optional wallet files) and to sign & submit on-chain transactions (via cast or via Bankr). That behavior is within a staking skill's purpose, but the instructions also provide a HEARTBEAT with automated decision logic (auto-claim when thresholds reached, 'consider staking' automatically) which grants the agent open-ended autonomy over funds if the user wires the heartbeat into an autonomous routine. The SKILL.md does not make the PRIVATE_KEY / config requirements explicit in registry metadata, so the instruction scope is broader than declared.
Install Mechanism
This is instruction-only with no install spec, so nothing is automatically downloaded or executed during install. The files are included in the skill bundle; risk is limited to what those scripts do when the user runs them. No external archives or untrusted download URLs are used by an installer.
Credentials
The skill requires sensitive secrets at runtime: either a Bankr API key stored in ~/.clawdbot/skills/bankr/config.json or a PRIVATE_KEY environment variable / wallet file to sign transactions. Yet the registry metadata declares no required env vars or config paths. Hiding these requirements is misleading — any user running scripts that use PRIVATE_KEY will be exposing a signing key. Requiring a private key is proportionate to sending transactions, but it must be declared up-front and handled carefully; the current package fails to do so.
Persistence & Privilege
always:false (good) and the skill doesn't request to modify other skills or global agent config. However HEARTBEAT.md explicitly suggests periodic autonomous checks, auto-claim thresholds, and state files (memory/clawmegle-staking.json), so if a user integrates the HEARTBEAT into an autonomous agent it can manage funds (claim, deposit, stake) without per-transaction confirmation. That autonomy is not inherently malicious but increases blast radius — users should not enable autonomous heartbeats without explicit safeguards.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawmegle-staking
  3. After installation, invoke the skill by name or use /clawmegle-staking
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the clawmegle-staking skill. - Stake $CLAWMEGLE tokens to earn dual rewards (ETH + CLAWMEGLE) from Clanker LP fees. - Supports both Bankr API integration and direct wallet transactions. - Includes scripts for staking, checking rewards, claiming, unstaking, and depositing rewards. - Detailed setup instructions and requirements for both Bankr and direct wallet usage. - Clarifies the difference between staking and depositing rewards actions.
Metadata
Slug clawmegle-staking
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is clawmegle staking?

Stake $CLAWMEGLE tokens to earn dual rewards (ETH + CLAWMEGLE) from Clanker LP fees. Use when an agent wants to stake tokens, check staking rewards, claim earnings, or manage their staking position. Supports both Bankr API and direct wallet transactions. It is an AI Agent Skill for Claude Code / OpenClaw, with 1248 downloads so far.

How do I install clawmegle staking?

Run "/install clawmegle-staking" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is clawmegle staking free?

Yes, clawmegle staking is completely free (open-source). You can download, install and use it at no cost.

Which platforms does clawmegle staking support?

clawmegle staking is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created clawmegle staking?

It is built and maintained by tedkaczynski-the-bot (@tedkaczynski-the-bot); the current version is v1.0.0.

💬 Comments