Skip to content

Instantly share code, notes, and snippets.

@doingthisalright
doingthisalright / config.json
Created March 29, 2023 12:09
Candy Machine Windows Edition! Launch Solana NFT Collection with Metaplex Candy Machine V3 and Sugar. Commands used in the video: https://youtu.be/TW8HLL6PW6c
{
"number": 10,
"symbol": "NB",
"sellerFeeBasisPoints": 500,
"isMutable": true,
"isSequential": false,
"creators": [
{
"address": "<Creator Wallet",
"share": 100
@doingthisalright
doingthisalright / CandyMachineV3Windows.sh
Created March 29, 2023 12:07
Candy Machine Windows Edition! Launch Solana NFT Collection with Metaplex Candy Machine V3 and Sugar. Commands used in the video: https://youtu.be/TW8HLL6PW6c
# Candy Machine Windows Edition! Launch Solana NFT Collection with Metaplex Candy Machine V3 and Sugar
# Install Git
# https://git-scm.com/download/win
git --version
# Install Node
# https://nodejs.org/en/download
npm --version
@doingthisalright
doingthisalright / config.json
Created February 14, 2023 11:37
Wallet Based Whitelist - Launch Solana NFT Collection using Metaplex Candy Machine V3 and Sugar: Config file for this video: https://youtu.be/fsQIr2Lqy4Q
{
"number": 10,
"symbol": "NB",
"sellerFeeBasisPoints": 500,
"isMutable": true,
"isSequential": false,
"creators": [
{
"address": "3pPYvzUriN9iCA4P4Pu2Z6KiQ4cDff6dUJjjXGYNQMGX",
"share": 100
@doingthisalright
doingthisalright / WalletWhitelistUsingCM3.sh
Created February 14, 2023 11:35
Wallet Based Whitelist - Launch Solana NFT Collection using Metaplex Candy Machine V3 and Sugar: Commands used in the video: https://youtu.be/fsQIr2Lqy4Q
# Launching NFT Collection with Wallet Based Whitelist using Candy Machine V3
# Setup Solana Tool Suite
solana --version
solana-keygen --version
# Setup Sugar alpha version
# Download: https://github.com/metaplex-foundation/sugar/releases/tag/v2.0.0-beta.1
chmod 755 sugarCM3
./sugarCM3 --version
@doingthisalright
doingthisalright / TotalSquaresInRectangles.js
Created December 13, 2022 12:08
Total Number of all sized Squares in a Rectangle of size X x Y
function getTotalSquares(x, y) {
let total = 0;
for (let loop = 0; loop < Math.min(x, y); loop++) {
total += ((x-loop) * (y-loop));
}
return total;
}
console.log(getTotalSquares(4, 11));
@doingthisalright
doingthisalright / config.json
Created December 10, 2022 11:15
Create Solana NFT Collection using Candy Machine V3: Config file for the video: https://youtu.be/0KHv1dMV8zU
{
"number": 10,
"symbol": "NB",
"sellerFeeBasisPoints": 500,
"isMutable": true,
"isSequential": false,
"creators": [
{
"address": "3icSnuo5kFS7BE5HPXLMrz1x1duK7bt69PJ4vvg2LDV9",
"share": 100
@doingthisalright
doingthisalright / NFTLaunchUsingCM3.sh
Created November 28, 2022 09:24
Create Solana NFT Collection using Candy Machine V3: Commands used in the video: https://youtu.be/0KHv1dMV8zU
# Launching NFT Collection using Candy Machine V3
# https://youtu.be/0KHv1dMV8zU
# Setup Solana Tool Suite
solana --version
solana-keygen --version
# Setup Sugar alpha version
chmod 755 sugarCM3
./sugarCM3 --version
@doingthisalright
doingthisalright / commands.sh
Created July 30, 2022 11:49
Using Sugar to Create Solana NFT with Metaplex Candy Machine - Commands used in the video: https://youtu.be/h37srt7Pm_s
### Setup Sugar
bash <(curl -sSf https://sugar.metaplex.com/install.sh)
sugar --version
### Setup wallets
# Setup Solana Tool Suite
sh -c "$(curl -sSfL https://release.solana.com/v1.10.32/install)"
solana --version
@doingthisalright
doingthisalright / commands.sh
Created July 13, 2022 09:29
Windows Edition! Launch Solana NFT Collection using Metaplex Candy Machine v2 - Commands used in the video: https://youtu.be/ZSgXg5eimus
# Verify that the required tools are installed
git version
node --version
yarn --version
ts-node --version
solana --version
# Setup Metaplex
git clone https://github.com/metaplex-foundation/metaplex.git ./metaplex
yarn install --cwd ./metaplex/js/
@doingthisalright
doingthisalright / MintWithReveal.sh
Created June 8, 2022 10:46
Mint with Reveal: Commands used in the video: https://youtu.be/K2ykv9IffdA
# Reference for the video: https://youtu.be/K2ykv9IffdA
## Create wallets
# BkuPyM8HV8Ea1RhwpydEjJ2YKMjXA81KxKME2AVXaCRW
solana-keygen new --outfile ~/KeyStrokes/nft/wallets/Payer.json
# CQdR5xa2u85GiBpt9hBMrcHN9Z6Jf6QNN1jjaAg7TPBu
solana-keygen new --outfile ~/KeyStrokes/nft/wallets/Minter.json