STAR KEYS DEPLOY

Deploy Star Keys on BNB Mainnet

Deploy page for Star Keys: the Star Keys NFT, the Fee Splitter and the Launcher. You sign in your owner wallet. Muse never signs or deploys. Never paste a private key anywhere on this page.

MAINNET (chain 56, BNB). This page deploys to BNB Mainnet. The wallet you connect becomes the OWNER of all contracts. Mint revenue ACCUMULATES in the NFT contract — there is no payout wallet — and the owner withdraws it with withdraw().

Locked spec (2026-11-22)

NFTStar Keys (STARK), 10,000 supply, max 30 per wallet. Price: 1st mint FREE, then 0.0005 BNB flat per mint. Art is fully on-chain SVG: black background, 3 thin gray orbit rings, 9 small colored planets on the rings, 10 tiny stars, and a SMALL pixel key in the exact center (~1/5 of the image width) whose color varies per key (Gold, Teal, Red, Blue, Purple, Orange, Green, Pink). Website: https://star-keys.pages.dev/ (external_url of every token).
Agent ID gateBinance Agent ID registry 0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F. NO owner exemption for the public mint. That registry does NOT exist on BSC testnet — for a testnet run, deploy the mock registry in Step 3 and use it instead.
RevenueACCUMULATE + OWNER WITHDRAW. There is NO payout wallet and NO forwarding in the mint tx. Mint BNB stays in the NFT contract; the owner withdraws it with withdraw(). No refund: excess over the price also stays in the contract. Royalty 1% to the owner.
LaunchEach Star Key is a one-time launch key. Burn a key in the Launcher to deploy your own ERC20 token: 100% of the supply + your BNB go into a PancakeSwap V2 pair as the initial liquidity, LP tokens go to you. Minimum 0.01 BNB of liquidity per launch. Launched tokens carry a 1% trade tax on pair trades only (wallet-to-wallet is free).
Fee splitEvery launched token's 1% trade tax is swapped to BNB and split: 50% launcher, 30% remaining Star Key holders (pro-rata per living key — each remaining key's share GROWS as keys burn), 10% platform, 10% buyback. Anyone may call distribute() on the splitter. Holder rewards are claimed per key with claim(), auto-settled on transfer, and settled before a burn.
Deploy order1) StarKeysNFT (registry), 2) StarFeeSplitter (NFT + router + platform + buyback), 3) StarKeysLauncher (NFT + splitter + router), 4) wire everything (NFT.setLauncher, NFT.setFeeSplitter, Splitter.setLauncher), 5) open the mint. The mint starts CLOSED; the owner opens it in Step 8.

PLACEHOLDERS — confirm before mainnet: platform wallet and buyback wallet (required inputs in Step 2 — there are no defaults); minimum launch liquidity 0.01 BNB; launched-token default supply 1,000,000,000 (1B, 18 decimals — the burner's choice at launch time); trade tax 1%; max 30 per wallet. See the README for the full list.

Step 1 - Wallet library

Wallet library not loaded yet.

Step 2 - Connect owner wallet

On connect this page AUTOMATICALLY switches your wallet to BNB Mainnet (56). If the switch fails, switch manually before deploying. The wallet you connect becomes the OWNER of all contracts.

Not connected.

Step 2b - Agent ID registry

Mainnet registry: 0x60B9262456dE011F7d15a54CdD8c48bAaa8B022F. For a testnet run, deploy the mock registry in Step 3 and press "Use mock registry" — it fills this field with the mock address.

Registry: mainnet address (change to the mock for testnet).

Step 2c - Platform wallet (REQUIRED)

Receives 10% of every launched token's trade fees, forever. Immutable once the splitter is deployed. This is a value you must supply — there is no default. It may be your own wallet or a separate platform wallet.

Platform wallet not set.

Step 2d - Buyback wallet (REQUIRED)

Receives 10% of every launched token's trade fees, forever. Immutable once the splitter is deployed. This is a value you must supply — there is no default.

Buyback wallet not set.

Step 2e - PancakeSwap V2 router

Mainnet V2 router: 0x10ED43C718714eb63d5aA57B78B54704E256024E. The launcher reads the V2 factory from this router. Launched tokens trade on PancakeSwap V2 (V3 has no fee hook and does not support fee-on-transfer tokens).

Router: PancakeSwap V2 mainnet.

Step 3 - Deploy MockAgentRegistry (testnet only)

Stands in for the real Agent ID registry on BSC testnet, where the real registry does not exist. After deploy, press "Use mock registry" above, then give your test wallets an Agent ID with the registry's setBalance(wallet, 1) (via BscScan testnet Write Contract). Never deploy on mainnet — skip this step on mainnet.

Not deployed yet.

Step 4 - Deploy StarKeysNFT

One constructor argument: the Agent ID registry from Step 2b (filled in automatically). 10,000 supply, max 30 per wallet, 1st mint FREE then 0.0005 BNB flat, 1% royalty to the owner. Fully on-chain SVG art, website https://star-keys.pages.dev/. The mint starts CLOSED. Revenue accumulates in this contract; the owner withdraws with withdraw().

Not deployed yet.

Step 5 - Deploy StarFeeSplitter

Four constructor arguments: the NFT address from Step 4, the router from Step 2e, the platform wallet from Step 2c and the buyback wallet from Step 2d (all filled in automatically). Splits every launched token's trade tax 50% launcher / 30% holders / 10% platform / 10% buyback. Platform and buyback are immutable.

Not deployed yet.

Step 6 - Deploy StarKeysLauncher

Three constructor arguments: the NFT address from Step 4, the splitter address from Step 5 and the router from Step 2e (all filled in automatically). This is where keys are burned to launch tokens (burnAndLaunch). Minimum 0.01 BNB of initial liquidity per launch.

Not deployed yet.

Step 7 - Wire everything (one-time)

Owner only. Sends three transactions in order: NFT.setLauncher(launcher), NFT.setFeeSplitter(splitter), Splitter.setLauncher(launcher). Do this once, right after Step 6. Without it, keys cannot burn and holder rewards cannot accrue.

Not wired yet.

Step 8 - Open the Star Keys mint

Owner only. Opens the mint (mintOpen). The 1st mint is FREE, then 0.0005 BNB flat per mint, max 30 per wallet, Agent ID required. Do NOT open the mint before Step 7 (wiring) is done.

Mint is closed.

Load contracts (if you closed this page after deploying)

If you closed this page after deploying, paste the contract addresses here and press Load contracts. The panel then works without redeploying.

Not loaded.

Verify on BscScan (after deploy)

Verify each contract on bscscan.com with the Standard JSON Input files in the project's verify/ folder (solc 0.8.28, optimizer 200 runs, viaIR, evmVersion cancun). Constructor arguments are ABI-encoded and shown after each deploy step above — paste them into BscScan's constructor-arguments field.

StarKeysNFT: file StarKeysNFT.sol, verify JSON verify/verify-input-star-keys-nft.json, constructor args: Agent ID registry, ABI-encoded (shown after Step 4).
StarFeeSplitter: file StarFeeSplitter.sol, verify JSON verify/verify-input-star-fee-splitter.json, constructor args: NFT + router + platform + buyback, ABI-encoded (shown after Step 5).
StarKeysLauncher: file StarKeysLauncher.sol, verify JSON verify/verify-input-star-keys-launcher.json, constructor args: NFT + splitter + router, ABI-encoded (shown after Step 6).
StarToken: deployed BY the launcher when a key burns (not by you). Verify with file StarToken.sol, verify JSON verify/verify-input-star-token.json, constructor args: name + symbol + supply + splitter, ABI-encoded (from the launch transaction).
MockAgentRegistry: testnet helper, verification optional.

After verify, paste the three contract addresses into the website config so mint, launch and claims read the real mainnet contracts. Website: https://star-keys.pages.dev/