• Creates a project launch via the Genesis API.

    Returns deserialized Umi transactions that can be signed and sent using standard Umi methods before calling registerLaunch.

    Example

    const result = await createLaunch({}, umi, {
    wallet: umi.identity.publicKey,
    token: { name: 'My Token', symbol: 'MTK', image: 'https://gateway.irys.xyz/...' },
    launchpool: {
    tokenAllocation: 500_000_000,
    depositStartTime: new Date('2026-03-01T00:00:00Z'),
    raiseGoal: 250,
    raydiumLiquidityBps: 5000,
    fundsRecipient: 'RecipientWallet...',
    },
    });

    // Sign and send using Umi directly
    for (const tx of result.transactions) {
    const signed = await umi.identity.signTransaction(tx);
    await umi.rpc.sendTransaction(signed);
    }

    Parameters

    Returns Promise<CreateLaunchResponse>

Generated using TypeDoc