用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/flap-sh/flap-skills --skill launch-bnb-token-on-flap命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | launch-bnb-token-on-flap |
| description | Launch a token on Flap BNB |
| metadata | {"openclaw":{"always":false,"emoji":"🦋","homepage":"https://docs.flap.sh","requires":{"anyBins":"[Truncated]"}}} |
Launch a token on Flap (BNB Chain). Execute each step in order. Read each reference file at the step that requires it — do not pre-load them.
This skill requires sensitive capabilities that must be provided:
https://bsc-dataseed.binance.org/.skills/launch-bnb-token-on-flap/
├── SKILL.md ← this file
└── references/
├── preflight.md ← Step 0: prerequisites
├── quote-tokens.md ← Step 1: quote token selection
├── vault-factory.md ← Step 2: vault factory setup
├── meta-upload.md ← Steps 3 & 6: metadata upload
├── tax-params.md ← Step 4: tax parameters
├── salt-finding.md ← Step 7: vanity salt mining
└── construct-tx.md ← Step 8: transaction construction
Before starting, verify that all required reference files are present. If any are missing, you MUST obtain them before proceeding:
Required files:
references/preflight.mdreferences/quote-tokens.mdreferences/vault-factory.mdreferences/meta-upload.mdreferences/tax-params.mdreferences/salt-finding.mdreferences/construct-tx.mdCheck each file exists, then read references/preflight.md and verify every prerequisite is satisfied before continuing.
Every token launched by this skill is a Flap Tax Token V3 (TOKEN_TAXED_V3). Standard
(non-tax) tokens are out of scope for this skill.
Determine the token configuration:
references/quote-tokens.md to fetch the
current list of supported quote tokens on BNB Chain and resolve the quoteToken address and
decimals to use in later steps. Defaults to native BNB if the user has no preference.Decision map:
| Choice | Contract to call |
|---|---|
| Tax token, no vault | Portal.newTokenV6 with tokenVersion = TOKEN_TAXED_V3 |
| Tax token + vault | VaultPortal.newTokenV6WithVault with tokenVersion = TOKEN_TAXED_V3 |
Read references/vault-factory.md to:
vaultDataSchema() to understand the required vaultData encoding.vaultData.Skip this step for tax tokens without a vault.
Determine the following token metadata fields:
name, symbol, image file pathdescription, twitter handle, telegram handle (omit if not available)Read references/meta-upload.md when ready to upload the image and construct the metadata JSON.
Read references/tax-params.md to determine and validate:
buyTaxRate, sellTaxRatetaxDuration, antiFarmerDurationmktBps, deflationBps, dividendBps, lpBpsminimumShareBalancebeneficiary address (only for tax token without vault)Determine quoteAmt: the amount of the chosen quote token (Step 1) to spend on the initial buy at
launch, in human units. Convert to base units using the quote token's decimals (see
references/quote-tokens.md) before encoding. If the quote token is native BNB, this also equals
the msg.value of the transaction; for any other (ERC-20) quote token, msg.value is 0 and the
wallet must instead hold and approve quoteAmt of that token beforehand. Use 0 to skip the
initial buy.
Follow references/meta-upload.md to upload the image and metadata JSON to Flap's upload API. Store the returned IPFS CID as meta.
Read references/salt-finding.md to mine a vanity salt using CREATE2 prediction:
7777.Save the resulting salt (bytes32) and the predicted tokenAddress.
Read references/construct-tx.md to assemble the full calldata, value, and to address for the correct contract entry point (Portal or VaultPortal).
Broadcast the constructed transaction to BNB Chain using the available wallet. After confirmation, report the token address and a link to https://flap.sh/bnb/<tokenAddress>.