本文へ移動
cccskills
無料GitHub で公開

erc20-skill

Interact with Erc20 smart contract via read/write functions

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Workflow

  1. Setup: Configure environment variables RPC_URL, PRIVATE_KEY, CONTRACT_ADDRESS
  2. Read: Use read functions (view/pure) to query contract state
  3. Write: Use write functions to modify contract state (requires gas)

Constraints

ConstraintRequirement
RPC ProviderAny Ethereum JSON-RPC endpoint
Private KeyMust have contract permissions
Gas LimitAdjust based on function complexity
NetworkMust match contract deployment

Read Functions

name

name()

Returns: string

Example:

const result = await name({  });

symbol

symbol()

Returns: string

Example:

const result = await symbol({  });

decimals

decimals()

Returns: uint8

Example:

const result = await decimals({  });

totalSupply

totalSupply()

Returns: uint256

Example:

const result = await totalSupply({  });

balanceOf

balanceOf(address account)

Returns: uint256

Parameters:

| account | address |

Example:

const result = await balanceOf({ account: "0x... });

allowance

allowance(address owner, address spender)

Returns: uint256

Parameters:

| owner | address | | spender | address |

Example:

const result = await allowance({ owner: "0x..., spender: "0x... });

Write Functions

transfer

transfer(address to, uint256 amount)

Mutability: nonpayable

Parameters:

| to | address | | amount | uint256 |

Example:

const tx = await transfer({ to: value, amount: value });

approve

approve(address spender, uint256 amount)

Mutability: nonpayable

Parameters:

| spender | address | | amount | uint256 |

Example:

const tx = await approve({ spender: value, amount: value });

transferFrom

transferFrom(address from, address to, uint256 amount)

Mutability: nonpayable

Parameters:

| from | address | | to | address | | amount | uint256 |

Example:

const tx = await transferFrom({ from: value, to: value, amount: value });

mint

mint(address to, uint256 amount)

Mutability: nonpayable

Parameters:

| to | address | | amount | uint256 |

Example:

const tx = await mint({ to: value, amount: value });

burn

burn(uint256 amount)

Mutability: nonpayable

Parameters:

| amount | uint256 |

Example:

const tx = await burn({ amount: value });

Events

Transfer

Signature: Transfer([indexed] address from, [indexed] address to, uint256 value)

Approval

Signature: Approval([indexed] address owner, [indexed] address spender, uint256 value)

Built with ❤️ by JustinXai ABI-to-MCP. Get the generator: https://github.com/JustinXai/abi-to-mcp

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

0protocol

無料

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

专为追求倍速增长的初建学校设计的教师选、育、用、留四环节体系。基于科德高中融合部真实管理经验,结合十部AI Agent架构,将人才管理从校长个人经验升级为可继承、可协同、可沉淀的组织能力。

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

115 网盘智能管理:扫码登录、文件浏览、搜索、转存、离线下载、智能整理。适用于"登录 115"、"查看文件"、"搜索 xxx"、"转存链接"、"磁力链接"、"整理文件"等场景。

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

12306-specific knowledge for booking train tickets via the Android app. Covers UC WebView virtual list behavior, proven booking flow, and common pitfalls. Uses appium-android-adb bridge OR direct uiautomator2 for all interaction.

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

Connect to 163/126/yeah.net (Coremail) email via IMAP, read inbox, search emails, and send emails via SMTP. Activate when user asks to check email, read mail, send email, or monitor inbox on 163/126/yeah.net accounts. Handles the Coremail-specific IMAP ID command requirement that causes "Unsafe Login" errors in standard clients.

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

1password

無料

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in, and reading/injecting secrets for commands.

日本語の概要は準備中です。原文の説明を表示しています。

Lord1Egypt/awesome-skill-forge22026年6月10日 更新

Lord1Egypt のスキルをすべて見る

このスキルの問題を報告する