Package Exports
- @emblemvault/primitives-launch
- @emblemvault/primitives-launch/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@emblemvault/primitives-launch) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@emblemvault/primitives-launch
TypeScript SDK for the Emblem launch primitive — Meteora DBC + DAMM v2 token launches with the 2-NFT (Emblem + creator) fee model.
Includes IPFS metadata helpers for the standard name / description / image flow.
Install
npm i @emblemvault/primitives-launch @solana/web3.jsQuick start
import { Connection } from '@solana/web3.js';
import { EmblemLaunchClient, EmblemIpfsClient } from '@emblemvault/primitives-launch';
const ipfs = new EmblemIpfsClient(); // defaults to https://emblemvault.ai
const { metadataUri } = await ipfs.uploadTokenMetadata({
name: 'Vibe',
description: 'A vibe token',
symbol: 'VIBE',
image: pngBlob, // or imageFileUrl, or pre-uploaded imageUri
});
const client = new EmblemLaunchClient({
connection: new Connection(process.env.SOLANA_RPC_URL!),
});
const ix = client.buildInitPoolViaPdaIx({
// ... creator / mints / dbcConfig
name: 'Vibe',
symbol: 'VIBE',
uri: metadataUri,
});The Connection is caller-supplied — point at mainnet, devnet, surfpool, or any forked-mainnet endpoint.
License
Apache-2.0 © Emblem Vault