Murphy Logo Murphy
Metaplex/Hydra

Hydra Fanout Form

Create and manage fanout wallets for multi-recipient distributions

Hydra Fanout Form

Hydra Fanout Distribution

Loading...

Installation

Install dependencies

Start by installing required Metaplex Hydra dependencies

pnpm add @solana/web3.js @solana/wallet-adapter-react @metaplex-foundation/umi @metaplex-foundation/umi-bundle-defaults @metaplex-foundation/mpl-hydra react-hook-form @hookform/resolvers zod

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 Hydra Fanout Form

pnpm dlx shadcn@canary add https://www.murphyai.dev/r/hydra-fanout-form.json

Basic Usage

import { HydraFanoutForm } from "@/components/ui/murphy/hydra-fanout-form";

export default function MyPage() {
  return (
    <div>
      <h1 className="text-xl font-bold mb-2">Create Fanout Wallet</h1>
      <HydraFanoutForm className="max-w-4xl" />
    </div>
  );
}

On this page

How are you feeling?

Join Our Community