Skip to main content

Creating Programs

The SDK makes it easy to deploy new Solana programs with just a few lines of code.

More specifically, you can deploy any of the following programs programmatically:

Let's take a look at how we can do this!

NFT Collection

Deploy an NFT Collection program.

const metadata = {
name: "My NFT Collection",
symbol: "NFT",
};

const address = await sdk.deployer.createNftCollection(metadata);
View in Javascript SDK Documentation

Token

Deploy a Token program.

const metadata = {
name: "My Token",
symbol: "TKN",
initialSupply: 100,
};

const address = await sdk.deployer.createToken(metadata);
View in Javascript SDK Documentation

NFT Drop

Deploy an NFT Drop program.

const metadata = {
name: "My NFT Drop",
symbol: "NFT",
totalSupply: 5,
};

const address = await sdk.deployer.createNftDrop(metadata);
View in Javascript SDK Documentation