用途
Bankr Dev - Token Deployment 用于在构建代币发行工具、实现 Clanker 集成或添加费用领取功能时提供支持。它允许用户通过自然语言提示来部署和管理代币。
主要能力
该技能覆盖以下操作,每项操作均对应示例提示:
- 部署代币:例如“Deploy a token called MyToken with symbol MTK”。
- 带描述部署:例如“Deploy token MyToken (MTK) with description: A community token”。
- 带社交信息部署:例如“Deploy token MyToken (MTK) with website https://mytoken.xyz and Twitter @mytoken”。
- 查询费用:例如“Check my Clanker fees”。
- 领取全部费用:例如“Claim all my Clanker fees”。
- 领取指定代币费用:例如“Claim fees for my token MTK”。
- 领取遗留费用:例如“Claim legacy Clanker fees”。
- 更新描述:例如“Update description for MTK: New description here”。
- 更新社交信息:例如“Update MTK Twitter to @newhandle”。
- 更新图片:例如“Update logo for MTK to https://...”。
- 更新奖励接收地址:例如“Update reward recipient for MTK to 0x...”。
使用方式
可通过 bankr-client 的 execute 函数调用,代码示例如下:
import { execute } from "./bankr-client";
// Deploy token
await execute("Deploy a token called MyToken with symbol MTK");
// With socials
await execute("Deploy token MyToken (MTK) with website https://mytoken.xyz and Twitter @mytoken");
// Check and claim fees
await execute("Check my Clanker fees");
await execute("Claim all my Clanker fees");
提示模式包括:
- Deploy a token called {name} with symbol {symbol}
- Deploy token {name} ({symbol}) with description: {description}
- Deploy token {name} ({symbol}) with website {url} and Twitter @{handle}
- Check my Clanker fees
- Claim all my Clanker fees
- Update description for {symbol}: {new_description}
- Update {symbol} Twitter to @{handle}
适用场景
适用于需要以自然语言方式部署代币、管理代币元数据(描述、社交链接、图片、奖励接收地址)以及处理 Clanker 费用查询与领取的开发场景。
限制
- 支持的链:Base(主)、Unichain(次)。
- 速率限制:标准用户每天 1 个代币;Bankr Club 用户每天 10 个代币。
- 其他限制暂未提供。
相关技能
- bankr-client-patterns:客户端设置与 execute 函数。
- bankr-api-basics:API 基础知识。
- bankr-token-trading:交易已部署的代币。