launch-bnb-token-on-flap

Launch a token on Flap BNB

MIT-0 · Free to use, modify, and redistribute. No attribution required.
0 · 25 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill is an instruction-only guide for launching a token on Flap BNB. Requiring Node/npm (for viem/TypeScript examples) and asking the user to provide an EVM signing wallet and an RPC URL are coherent with the described functionality.
Instruction Scope
All runtime instructions stay within the token-launch workflow: preflight checks, metadata upload to Flap's upload API, optional vault setup, vanity-salt mining, ABI encoding, and transaction construction. Notable runtime actions that the user should expect: (1) uploading image/metadata to https://funcs.flap.sh/api/upload (external network I/O), (2) reading blockchain state and calling contract view methods via an RPC URL provided by the user (or the public fallback), and (3) locally mining a vanity CREATE2 salt (the included example uses generatePrivateKey for randomness). These are expected for this task but are external-network and cryptographic operations the user must authorize.
Install Mechanism
This is instruction-only (no install spec, no code files to run from the package). The SKILL.md shows example TypeScript code that relies on viem/axios but does not force-install anything; risk from installation is minimal in the skill itself.
Credentials
The skill does not request unrelated environment variables or third-party credentials. It legitimately requires an EVM signing mechanism (wallet) and an RPC endpoint for BNB mainnet; both are requested in the instructions rather than as opaque required env variables. The public RPC fallback is suggested but using any remote RPC can expose transactional metadata to that provider—this is expected but worth noting.
Persistence & Privilege
The skill is not always-on, is user-invocable, and contains no instructions to modify other skills or persist credentials. It does not request elevated or permanent platform privileges.
Assessment
This skill appears to be what it says: a step-by-step instruction set for building and broadcasting a Flap BNB token launch. Before using it, consider the following: (1) you must provide a signing wallet and an RPC URL — never paste private keys into third-party services; sign only transactions you independently verify, (2) the skill uploads image/metadata to https://funcs.flap.sh — review that service's privacy/pinning policy because uploads go to an external endpoint, (3) the salt-finding code generates private-key material locally for randomness — do not reuse any generated private key as an account/private-key for your wallet, (4) using the public fallback RPC will disclose request data (addresses, calls) to that provider — prefer a trusted RPC, and (5) verify the listed contract addresses (Portal, VaultPortal, factory addresses) with Flap's official docs before broadcasting funds. If you want stronger assurance, ask the skill author for provenance (who maintains it) and confirm the Flap upload endpoint and contract addresses against an official source.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.2.0
Download zip
latestvk9747zjpww41wwjvt99w78scwn83z158

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

🦋 Clawdis
Any binnode, npx, npm

SKILL.md

🦋 Launch a BNB Token on Flap

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.


⚠️ Security Notice

This skill requires sensitive capabilities that must be provided:

  • EVM wallet with signing capability — hardware wallet, browser wallet, MPC, or other secure signing method for BNB Chain (chain ID 56). The skill mainly focuses on constructing transaction data and then the transaction should be signed by the EVM wallet. Always verify transaction details independently before signing.
  • BNB mainnet RPC endpoint — a trusted RPC URL for reading blockchain state and broadcasting transactions. If not presently available, this skill will use the public fallback https://bsc-dataseed.binance.org/.

Directory structure

skills/launch-bnb-token-on-flap/
├── SKILL.md                        ← this file
└── references/
    ├── preflight.md                ← Step 0: prerequisites
    ├── 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

Step 0 — Preflight check

Before starting, verify that all required reference files are present. If any are missing, you MUST obtain them before proceeding:

Required files:

  • references/preflight.md
  • references/vault-factory.md
  • references/meta-upload.md
  • references/tax-params.md
  • references/salt-finding.md
  • references/construct-tx.md

Check each file exists, then read references/preflight.md and verify every prerequisite is satisfied before continuing.


Step 1 — Choose token type

Determine the token configuration:

  1. Tax token or standard (non-tax) token?
  2. If tax token: Use a Vault Factory for revenue management?

Decision map:

ChoiceContract to call
Standard tokenPortal.newTokenV6 with tokenVersion = TOKEN_V2_PERMIT
Tax token, no vaultPortal.newTokenV6 with tokenVersion = TOKEN_TAXED_V3
Tax token + vaultVaultPortal.newTokenV6WithVault with tokenVersion = TOKEN_TAXED_V3

Step 2 — Vault Factory setup (tax + vault only)

Read references/vault-factory.md to:

  1. Determine the vault factory address to use.
  2. Call the factory's vaultDataSchema() to understand the required vaultData encoding.
  3. Determine the values needed to encode vaultData.

Skip this step for standard tokens or tax tokens without a vault.


Step 3 — Token metadata

Determine the following token metadata fields:

  • Required: name, symbol, image file path
  • Optional: description, twitter handle, telegram handle (omit if not available)

Read references/meta-upload.md when ready to upload the image and construct the metadata JSON.


Step 4 — Tax parameters (tax token only)

Read references/tax-params.md to determine and validate:

  • buyTaxRate, sellTaxRate
  • taxDuration, antiFarmerDuration
  • mktBps, deflationBps, dividendBps, lpBps
  • minimumShareBalance
  • beneficiary address (only for tax token without vault)

Skip this step for standard tokens.


Step 5 — Launch buy amount

Determine quoteAmt: the amount of BNB to spend on the initial buy at launch (in BNB, will be converted to wei). This becomes both the quoteAmt field and the msg.value of the transaction. Use 0 to skip the initial buy.


Step 6 — Upload metadata

Follow references/meta-upload.md to upload the image and metadata JSON to Flap's upload API. Store the returned IPFS CID as meta.


Step 7 — Find the salt

Read references/salt-finding.md to mine a vanity salt using CREATE2 prediction:

  • Tax token address must end in 7777.
  • Standard token address must end in 8888.

Save the resulting salt (bytes32) and the predicted tokenAddress.


Step 8 — Construct the EVM transaction

Read references/construct-tx.md to assemble the full calldata, value, and to address for the correct contract entry point (Portal or VaultPortal).


Step 9 — Send the transaction

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>.

Files

7 total
Select a file
Select a file to preview.

Comments

Loading comments…