Getting Started using JavaScript
Metaplex provides a JavaScript library that can be used to interact with the Core Candy Machine program.
npm install \
@metaplex-foundation/umi \
@metaplex-foundation/umi-bundle-defaults \
@metaplex-foundation/mpl-core-candy-machineimport { createUmi } from '@metaplex-foundation/umi-bundle-defaults'
import {
mplCandyMachine as mplCoreCandyMachine
} from "@metaplex-foundation/mpl-core-candy-machine";
// Use the RPC endpoint of your choice.
const umi = createUmi('http://127.0.0.1:8899').use(mplCoreCandyMachine())Last updated