Murphy Logo Murphy
ZK Compression

Mint Compressed Token Form

A Solana compressed token minting component with shadcn UI styling

Mint Compressed Token Form

Create Compressed Token
DevnetMainnet

Select network to create token on

⚠️ Warning: Do not use your main wallet containing large amounts of money. Create a new wallet or use a separate wallet for this purpose to ensure asset safety.

Installation

Install dependencies

Start by installing required Solana dependencies

pnpm add @solana/web3.js @solana/spl-token @solana/wallet-adapter-react @lightprotocol/stateless.js @lightprotocol/compressed-token bs58 dotenv

Add Wallet Provider

Make sure you have added the Wallet Provider to your application. If not, follow the steps in the Connect Wallet Button guide first.

Add Mint Token Form

pnpm dlx shadcn@canary add https://www.murphyai.dev/r/mint-cToken.json

Basic Usage

import { MintTokenForm } from "@/components/ui/murphy/mint-cToken";
export default function MyPage() {
  return (
    <div>
      <h1 className="text-xl font-bold mb-2">Create Compressed Token</h1>
      <MintTokenForm className="max-w-md" />
    </div>
  );
}

On this page

How are you feeling?

Join Our Community