Metaplex/MPL-Hybrid
MPL Hybrid Form
Advanced hybrid token and escrow operations with Metaplex Hybrid protocol
MPL Hybrid Form
MPL Hybrid Form
Loading...
Installation
Install dependencies
Start by installing required Metaplex Hybrid dependencies
pnpm add @solana/web3.js @solana/wallet-adapter-react @metaplex-foundation/umi @metaplex-foundation/umi-bundle-defaults @metaplex-foundation/mpl-hybrid @metaplex-foundation/mpl-token-metadata @metaplex-foundation/umi-signer-wallet-adapters 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 MPL Hybrid Form
pnpm dlx shadcn@canary add https://www.murphyai.dev/r/mpl-hybrid-form.json
Basic Usage
import { MPLHybridForm } from "@/components/ui/murphy/mpl-hybrid-form";
export default function MyPage() {
return (
<div>
<h1 className="text-xl font-bold mb-2">Hybrid Operations</h1>
<MPLHybridForm className="max-w-2xl" />
</div>
);
}