Skip to content
Mainnet Live. All executions, addresses and hashes are live.
WORMHOOK

Mint Mirroractive

Mints an EVM-side mirror of a Solana collectible. Demo custom hook.

nft.mint-mirror.v2v2.0.0Baseby Demo author: mirror-mint
Executions · 7d22
Success rate95.5%
Median latency26.2s
Calling apps1

Interface

MINT_MIRROR

15–25s to receipt

Mint a mirror token pointing at a Solana mint.

Inputs

solanaMintbytes32Source mint address.
recipientaddressEVM recipient.

Outputs

tokenIduint256Minted token ID.
example payload
{
  "solanaMint": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
  "recipient": "0x2f6a9c1e4b7d0a3c8e5f2b9d6a1c4e7b0d3f8a2c"
}

Usage

@wormhook/sdk
simulated
nft-mint_mirror.ts
import { WormHookClient } from "@wormhook/sdk";

const client = new WormHookClient({ network: "devnet", appId: YOUR_APP_ID });

const call = await client.prepareCall({
  hookId: "nft.mint-mirror.v2",
  action: "MINT_MIRROR",
  payload: {
    "solanaMint": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU",
    "recipient": "0x2f6a9c1e4b7d0a3c8e5f2b9d6a1c4e7b0d3f8a2c"
  },
  maxSpend: "0.01", // ≤ per-call cap (0.01 ETH)
  ttl: 900,
});

const execution = await client.simulate(call);
const receipt = await execution.waitForReceipt();

Registration

hook id
nft.mint-mirror.v2
version
2.0.0
destination
Base
permissions
Open
spend cap
0.01 ETH / call
author
Demo author: mirror-mint0x09436f…9edd

Routes

  • Solana→Baseenabled
  • Wormhole 1 → 30 · receipt returns on the same route

Adapter

integration pending
kind
Custom
contract
MirrorAdapter0xdca168…0391
IWormHookAdapter.solconceptual
// Conceptual: final interface is defined in phase 2 (CORE_TECH_PLAN.md §Adapters)
interface IWormHookAdapter {
    function execute(
        bytes32 callId,
        bytes calldata payload
    ) external returns (bytes memory output);
}

Source & audit

repository
github.com/example/mint-mirror (demo)
commit
c09d5f1
audit
not audited

Risk notes

  • Third-party hook. Not audited.

Versions

  1. 2.0.0current2026-09-12Breaking: recipient is now explicit. Registered as new ID.

Allowlisted apps

Execution history

latest 10
All →