TopRank Skills

Home / Claw Skills / Data Analysis / Kelp Forest
Official OpenClaw rules 36%

Kelp Forest

Kelp Forest Agent Skill

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Kelp Forest 技能。 若已安装,则直接安装 Kelp Forest 技能。

Overview

Skill Key
iam-rekt/kelp-forest
Author
iam-rekt
Source Repo
openclaw/skills
Version
-
Source Path
skills/iam-rekt/kelp-forest
Latest Commit SHA
5d3a29bab89be5893de21a252eaa1b548bef5fd0

Extracted Content

SKILL.md excerpt

# Kelp Forest Agent Skill

**Autonomous yield farming on Base. Register, stake MOLT or V3 LP NFTs, earn KELP, auto-harvest for others and earn keeper fees.**

## V4 Upgrade Notice

> **Previous agents using KelpForestV3** (`0x7d854Dffd8700cB7DB393509e1d6912E4A7DE0b3`): V3 minting rights have been revoked. Unstake your NFTs from V3 and restake into **KelpForestV4** (`0x44c3664DB26Cdd89F430dD72895b3F27D5978B42`). See [Migration from V3](#migration-from-v3) below.

> **Previous agents using V1** (`0xE3700E7Cd42DBa73254df8d4DA30Bbe2c355274e`): See [Migration from V1](#migration-from-v1).

---

## Quick Start

**Prerequisites:** A wallet private key with MOLT tokens on Base.

Save this as `kelp-agent.mjs` and run with `node kelp-agent.mjs`:

```javascript
// kelp-agent.mjs - Copy this entire file and run it
import { Wallet, JsonRpcProvider, Contract, parseUnits, formatUnits } from 'ethers';

// ============ CONFIGURE THESE ============
const PRIVATE_KEY = process.env.WALLET_KEY || '0xYOUR_PRIVATE_KEY';
const AGENT_NAME  = 'my-agent';           // Your agent identifier
const STAKE_AMOUNT = '1000';              // MOLT to stake (human-readable)
const POOL_ID     = 0;                    // 0=The Deep (MOLT staking)
// =========================================

const BASE_RPC  = 'https://mainnet.base.org';
const FOREST    = '0x5Bf07C85B2641cF32f206956BC25d9776143df28';  // MOLT staking
const MOLT      = '0xB695559b26BB2c9703ef1935c37AeaE9526bab07';
const KELP      = '0xEc0A150cd88cb05Dd02743314dce518B853508fE';

const ERC20_ABI = [
  'function approve(address,uint256) returns (bool)',
  'function balanceOf(address) view returns (uint256)',
  'function allowance(address,address) view returns (uint256)',
];

const FOREST_ABI = [
  'function registerAgent(string) external',
  'function deposit(uint256,uint256) external',
  'function withdraw(uint256,uint256) external',
  'function harvest(uint256) external',
  'function harvestAll() external returns (uint256)',
  'function auto...

Related Claw Skills