PUNCH IN mine-to-earn market

Deploy the Mine Card Market on BNB Chain

Deploy page for the Official Market for Punch In Mine Cards. You sign in your OKX wallet. Muse never signs or deploys. Never paste a private key anywhere on this page.

Trading is locked until Step 4: Mine Cards can move ONLY to or from this Official Market, and the Mine Card contract currently has NO market set (market = 0x0). Deploy the market here (Step 3), then set it on the Mine Card (Step 4). Only then can cards be listed, bought, or cancelled.

Locked specs (do not change)

MarketBuySell ONLY: list / cancelListing / buy. NO offers, NO auctions, NO bundles, NO market fee (0%). Escrow: listing takes custody of the card; cancel returns it to the seller; buy moves it to the buyer.
Royalty1% fixed (ERC2981, 100 bps) to the payout wallet 0x828551d3baa692058d7b6a33ad980609da4166a3, read live via royaltyInfo on the Mine Card.
No refundNO-REFUND: this market NEVER refunds. The buyer sends at least the listed price; the FULL amount sent is split in the same tx (1% royalty to the payout wallet, the rest to the seller). An overpaying buyer gets nothing back.
Market holds 0 BNBEvery buy forwards the full amount received in the same tx. There is no owner, no withdraw, no rescue function. A card sent DIRECTLY to this market (not via list()) is UNRECOVERABLE. Always list through list(), never transfer directly.
Trading gateNO Agent ID gate on trading: trading is open to anyone, only minting is gated. The seller must approve the market (setApprovalForAll) before listing.
Mining settlementThe Mine Card notifies the Mining contract on every transfer BEFORE the ownership changes, so the seller's accrued $PUNCHIN is settled to the seller and the buyer starts fresh. The market makes no Mining calls of its own. A revealed card listed here settles the seller's pending at list time.
Deploy order1) Deploy MineCardMarket (Mine Card + payout), 2) setMarket on the Mine Card (Step 4). The Mine Card and Mining contracts are already deployed, wired, funded, and the mint is OPEN. This page deploys ONLY the market.

Step 1 - Wallet library

Press "Load wallet library" first (needs internet for the ethers CDN).

Step 2 - Connect OKX wallet

Wallet: not connected
Chain: unknown

On connect this page AUTOMATICALLY switches your wallet to BNB Smart Chain (56). If the switch fails, switch manually in OKX before deploying.

Step 3 - Deploy MineCardMarket

Two constructor arguments, both pre-filled below: the Mine Card address (the LIVE Mine Card) and the payout wallet (immutable royalty receiver). 0% market fee, 1% royalty, BuySell only, no-refund, no owner.

Mine Card (pre-filled): 0xF8A72C4538Cd9d570B2C771f01A0d561a90A64Eb
Payout (pre-filled): 0x828551d3baa692058d7b6a33ad980609da4166a3

Not deployed yet.

MineCardMarket: -
Constructor args for verify: -

Step 4 - Set the market on the Mine Card (one-time)

Owner only. Tells the Mine Card contract that this is the Official Market. After this call, cards can move ONLY to or from this market: list() escrows a card into it, buy() moves it to the buyer, cancelListing() returns it to the seller. Direct wallet-to-wallet transfers stay blocked. Check the market address before you send.

Mine Card: 0xF8A72C4538Cd9d570B2C771f01A0d561a90A64Eb
Market: -

Market not set yet. Trading is locked until this step confirms.

Owner panel

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

Mine Card:
Market:

Owner (Mine Card): -
Market on Mine Card: -
Cards minted: -
Mine mint open: -
Market royalty payout: -

Check a listing: tokenId
Listing: -

Owner panel ready. Deploy the market first, or load its address above.

Verify on BscScan (after deploy)

Compiler: solc 0.8.28, Optimizer: enabled, runs 200, viaIR: true, EVM version: cancun, License: MIT.
Verification method: Standard JSON Input - upload the matching file: MineCardMarket: file MineCardMarket.sol, verify JSON verify/verify-input-mine-card-market.json, constructor args: Mine Card address + payout wallet, ABI-encoded (shown after Step 3).
After verify, paste the market address into the website config (punchin.fun) so the Mine section shows live listings, and tell your holders the market is open: sellers approve the market first (setApprovalForAll), then list.