This guide provides step-by-step instructions to deploy an NFT collection on Solana using Sugar (Candy Machine) and Umi (a Metaplex JS protocol for Solana).
Ensure you have the following tools installed before proceeding:
-
Solana's Install Tool: Use the following command to install Solana's command-line tools:
sh -c "$(curl -sSfL https://release.solana.com/v1.18.15/install)"
-
Rust: Install Rust using the following command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Run the following command to generate a new keypair:
tsc generateKeypair.ts && node generateKeypair.js
dapp/
├── .env
├── wallet.json
├── config.json
└── assets/
├── clubs/
│ ├── sparky.png
│ ├── peaky.png
│ └── barker.png
└── membership/
├── prospect.png
├── prospect.json
├── soldier.png
├── soldier.json
├── full_member.png
├── full_member.json
├── veteran_member.png
├── veteran_member.json
├── collection.png
└── collection.json
-
Generate Private Key: Run the following command to generate a private key and save it in the
.env
file:echo "PRIVATE_KEY=<your_private_key>" > .env
-
Validate Configuration: Use the following command to validate the configuration:
sugar validate
-
Upload Assets: Upload assets to the Candy Machine using Sugar:
sugar upload
-
Verify: Verify the Candy Machine:
sugar verify
-
Test Mint: Test the minting process:
sugar mint
- The Peaky Barker Pubkey: 4BZ3gQFxCU7hW3X2MqeFU2WBb5Zdsr5xnFLr6HerFA6i (Solscan Link)
{
"name": "BARKER's Club Collection",
"symbol": "BARK",
"description": "An exclusive collection of NFTs representing tiered memberships in the BARKER's Club. Each NFT grants access to unique benefits and community features within the BARK Protocol ecosystem.",
"image": "collection.png",
"attributes": [
{
"trait_type": "Tier",
"value": "Prospect"
},
{
"trait_type": "Membership",
"value": "Full Member"
}
],
"seller_fee_basis_points": 500,
"external_url": "https://barkersclub.com",
"creators": [
{
"address": "4BZ3gQFxCU7hW3X2MqeFU2WBb5Zdsr5xnFLr6HerFA6i",
"share": 100
}
]
}
{
"name": "BARKER's Club Prospect Membership #prospect",
"symbol": "BARK",
"description": "A prospect membership NFT for the BARKER's Club.",
"image": "prospect.png",
"attributes": [
{
"trait_type": "Tier",
"value": "Prospect"
},
{
"trait_type": "Membership",
"value": "Annual"
}
],
"seller_fee_basis_points": 500,
"external_url": "https://barkerclub.com/nft/0",
"creators": [
{
"address": "4BZ3gQFxCU7hW3X2MqeFU2WBb5Zdsr5xnFLr6HerFA6i",
"share": 100
}
]
}
Staking within the BARK allows members to lock up their membership tokens (NFTs) for a certain period in exchange for rewards and benefits. This mechanism incentivizes members to contribute to the stability and growth of the BARKER´s Club ecosystem while earning passive income.
- Staking Mechanism: NFTs involves locking up non-fungible tokens (NFTs) in a smart contract for a certain period in exchange for rewards or other benefits
Ensure to keep your .env
file secure and do not expose your private key. You can add .env
to your .gitignore
file to prevent it from being committed to your repository.
{
"version": 1,
"account": "4BZ3gQFxCU7hW3X2MqeFU2WBb5Zdsr5xnFLr6HerFA6i",
"private_key": "<your_private_key>"
}
Notice! The website for this project is not deployed yet.
This README provides a comprehensive guide to setting up and deploying your NFT collection on Solana using Sugar and Umi.
BARKER's Club is licensed under the ISC License.