Murphy Logo Murphy
ZK Compression

Distribute Compressed Token

Solana compressed token distribution component with shadcn UI interface

Distribute Compressed Token Form

Compressed Token Distribution
DevnetMainnet

Select the network you want to use for token processing

Installation

Install necessary libraries

Start by installing the required Solana libraries

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

Add Wallet Provider

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

Add Token Distribution Form

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

Usage basic

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

On this page

How are you feeling?

Join Our Community