UNPKG

@leda-mint-io/candymachine-client-sdk

Version:

Metaplex Candy Machine Client SDK

16 lines (15 loc) 891 B
/// <reference types="node" /> import * as anchor from '@j0nnyboi/anchor'; import { Manifest } from '../types'; /** * Upload the NFTs and their metadata to the Arweave network. * @param walletKeyPair - keypair of the wallet to use for the mint transaction * @param anchorProgram - anchor program to use for the mint transaction * @param env - environment to use for the mint transaction (mainnet-beta, devnet, testnet) * @param image - image to upload * @param manifestBuffer - buffer of the manifest to upload * @param manifest - manifest to upload * @param index - index of the image to upload * @returns - The links for the manifest and the image in Arweave. */ export declare function arweaveUpload(walletKeyPair: any, anchorProgram: anchor.Program, env: string, image: File, manifestBuffer: Buffer, manifest: Manifest, index: number): Promise<string[]>;