WebSocket URL: wss://api.devnet.solana.com/ (computed) -n, --number Number of images to upload - ensure you have a recent version `jq` installed Also, if you have an issue ## this command lists then sorts all of your name values. 9.png Once you verify that your keypair has funds and your assets have been uploaded appropriately, you are ready to deploy the candy machine. We will also add a script to mint NFTs to your wallet via the CLI.

Everything You Need to Know About Metaplex's Candy Machine v2. Processing file: 0 This functionality ensures that theres a level playing field when it comes to minting NFTs using Candy Machine v2. noMutable: False means you can update the on-chain metadata. 6.png We will need this address later. :::warning :::info `solana config set --keypair ~/.config/solana/devnet.json` Name {redacted-name} 1 with https://arweave.net/{redacted-tx-id} checked out $ solana config get ::: #### check `properties.creators` For example, you can create ~/.config/solana/keypair.json and enter your private key bytes: An example of private key bytes for public key 5WfBt2ziAxA4DWV3XBSmvczhjcp9Az9eCcdmgSNvZ2Ar: You can save and reuse the configuration across multiple drops. $ solana airdrop 10 # request funds This permits the broader marketplace, storefronts, and CLIs to search for NFTs that were minted by a Candy Machine seamlessly and with trust. - customize your own ui This is because there is a general expectation that once an individual puts a token into the machine, they will only receive one item. $ ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-cli.ts verify You can add this keypair to Phantom to check the NFTs. Clone the latest Metaplex Candy Machine V2 from the master branch on Github. $ find assets -type f -name '*.json' | xargs jq -r '.symbol' | sort | uniq -c On-chain NFT collections help validate accuracy and authenticity. Then set the Solana RPC connection. First, let's get started by installing all of the software packages we will need to mint Solana NFTs with Candy Machine: If you are running Mac OS with the Apple M1 Chip, then you need to install additional dependencies (see docs): brew install pkg-config cairo pango libpng jpeg giflib librsvg. ``` Then, add funds. ``` Make sure you keep the date formatting consistent with the example. Looking at key 3 When done, you can change the network to Mainnet-Beta. Doesn't widely support EVM computation, although a few EVM-compatible ZK-rollups have appeared. If you run node ./build/candy-machine-v2-cli.js, you should see the following output: Successfully built Candy Machine CLI output.

intermediate programming experience - this might be challenging for those who are new to coding. #### Updating your candy-machine Of course, there are some exceptions such as when the Candy Machine will return your token if there are no more NFTs left to mint. Version 2 enables you to ::: ``` use `git pull` to ensure you're running the latest and greatest version. ```bash This provided an unfair advantage to NFT collectors with developer backgrounds. The project is about 90 megabytes and could take a couple minutes to download. 10 ["",60] Read the fine manual ```bash= Users don't need someone to watch the L2 chain to detect fraud. We will walk you through step-by-step Now that your wallet is funded and your assets are organized and validated we can do the fun and important part! ~/metaplex-foundation/metaplex Update Authority: Solana address that is able to update the NFT metadata. The Metaplex Candy Machine operates on the Solana blockchain. ## this command extends the prior command by extracting the shares & summing them up. If you found this helpful, consider sending a tip to the author. Arguments: ``` The Candy Machine program is similar to a real-world mechanical candy machine whereby a person deposits a coin into the candy machine and gets one piece of candy back. 0.png ### Running candy machine command line utility - initialize your projects candy-machine ===================================================================== If you're running into issues In this tutorial, we will mint NFTs on Solana using the Candy Machine v0.0.2. Congratulations! create new distribution scenarios and offers protection from bot attacks. 1.png $ npm install -g ts-node NOTE! Don't speed run this section. 5.png started at: 1643379208383 At this point, your NFTs are ready on the chain. Run solana-keygen new --outfile ~/.config/solana/keypair.json to create a new keypair. This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

No instructions provided Candy Machine helps solve common issues related to minting Solana NFTs including: Most large-scale NFT creators use automated minting tools similar to Candy Machine. ## the pattern looks like you'd expect it to. According to Metaplex, the numbering of the files start at 0. You can change the metadata for each NFT so it is unique to that NFT. If we look at the account tokens, the NFT now shows up on the Tokens tab. `solana help balance` and

Looking at key 0 It will: Alchemy Supernode finally makes it possible to scale blockchain applications without all the headaches. `ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-cli.ts upload` sends files to arweave __and also__ registers those files with your candy-machine. For Solana NFT minting, Metaplex does come with a full minting front-end application written in React. Processing asset: 4 Now that you have completed the majority of the initialization steps, your Candy Machine is ready to mint Solana NFTs. ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-cli.ts \ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: If your me, you'll redact your mnemonic, store it somewhere safe and take advantage of the `--outfile` flag. Usage: candy-machine-cli upload [options] create_candy_machine [options] Even though globally recognized NFT creators use automated minting tools similar to Candy Machine, the Metaplex-developed tool is highly recommended because it is now a fully on-chain distribution program for NFTs. This file will have the following content: You can create a script to generate the configuration for you. Maybe you live life on the edge. We are going to build an upgradable NFT project on top of the Meta Blocks protocol.

- clone the project -- if you're me: Installing and using Solana Candy Machine V2 requires Doesn't need to publish transaction data on Ethereum because ZK-SNARKs and ZK-STARKs already guarantee the accuracy of the rollup state. :::

More information on creating a frontend for your NFT mint, or how to use Candy Machine v2, refer to the official documentation Metaplex. You signed in with another tab or window. Solana is here.

arweave is rarely able to show your your assets right away. In fact, the Candy Machine CLI provides the verify_assets command to check that uploaded assets are in the correct format. Metaplexs Candy Machine addresses these shortcomings in a dynamic way. When we click on the newly-minted Solana NFT, we can see the details (if you look at link later the image may no longer exist because the file storage is temporary). In general, the latest version of the program enables new distribution possibilities and offers enhanced protection from bot attacks, all packaged in the same easy-to-use interface. For example, update the attributes to explain the NFT's unique properties in the description. Uses a simulation of the Ethereum Virtual Machine (EVM), which allows it to run arbitrary logic and support smart contracts. - fork it No instructions provided Building up commands with lots of long arguments can be challenging and error prone. Explore 10 of the most popular and Solana NFT collections, and discover the characteristics that make them special like team, utility, roadmap, and artwork. ``` While there are Solana NFT communities that give access to NFT minting bots through their own NFT collection and token-gated Discord, Candy Machine's Captcha settings make it more difficult to auto-mint NFTs using bots. So for our 5 NFTs in the "Tara" collection, we will have the following files (total 10): We will create two folders called tara and tara/assets in metaplex/js/packages/cli: assets folder stores on-chain assets and the tara folder will be used to store keys and config. Minting NFT collections correctly requires technical know-how, and the Candy Machine helps streamline the process. ::: You can sell them, build a community around them, or keep them in your wallet forever. :::info Once you have downloaded the prerequisite Solana developer tools and configured your machine, you should be able to create a new Candy Machine that is ready to mint tokens after initial deployment. This means that creating a new instance of Candy Machine v1 is no longer possible and end-users are encouraged to use Candy Machine v2 instead. ## Getting Started Relies on cryptographic guarantees for security. cd into a directory where you want to store the Metaplex related code. 2 SOL, node ../build/candy-machine-v2-cli.js upload \, Beginning the upload for 5 (img+json) pairs 10 The settings we need to update include: The settings above will configure a Candy Machine V2 to operate in a similar way as Candy Machine V1, but the mint order will be unpredictable. Users now have the ability to create numerous configurations for NFT whitelists where users can mint before the official start date, obtain NFTs at discounted prices, or even have exclusive access to mints. ```bash Requires waiting through a 1-week delay (dispute period) before withdrawing funds. ::: We will use the official CLI to mint our collection. Though the hash is the same across all the mints, the name of each item is specified with a unique number, allowing an off-chain process to later update the metadata with the actual item. If you are following along with the example, you can find the 5 json files and images here. ", "8J4tQgSifp1ibwXbMVBBKjry1YoSaoSLSMTkYQjsyzUA", Requesting airdrop of 2 SOL For us, it is AuuLoYV9kx8HKWrpnJCT5whgURqd5MwxckWesL5arqh. Then clone the repository: You should see the following files in the newly created metaplex folder: Screenshot of the files inside the Metaplex folder. Generative NFTs take multiple design assets to automatically create a large number of uniquely designed NFTs compared to 1-of-1 NFTs and AI-generated NFTs. Do not use Solana mainnet with SOL until you 3.json ``` This project is under active development. After this, your assets are ready (assuming you didn't make any typos). Size 5 { mediaExt: '.png', index: '0' } Connect a relevant Solana wallet and add funds to create and deploy a Candy Machine. Today, Metaplexs tool has become common across the industry as a result of its inherent utility, noteworthy documentation, and logic to combat threats such as bot attacks. You can request some using airdrop: The above command will give an output similar to: It's a good idea to test your collection on Devnet first. You can view all of your NFT metadata, If you decide to create a website, you can follow the steps outlined here: https://docs.metaplex.com/candy-machine-v2/mint-frontend. This is going to feel tedious, but remember that bugs in this data are forever. In that case you can skip this step. The Metaplex package comes with multiple packages, but we only care about cli. Processing file: 1 Your submission has been received!

Requesting airdrop of 10 SOL ``` Moreover, Candy Machines name has been derived from a real-world mechanical candy machine. ended at: 2022-01-28T14:14:26.735Z. The valid number for this field is between 0 (0%) and 10000 (100%). There's a boilerplate community project available here. You can use an existing wallet by creating a json file with your private key bytes on your computer. :::warning Solana Explorer parses the attributes to show them on a separate tab. Install the Solana Command-line Tools --price 1 \ NFTs welcomed :) Mint Authority: Solana address that is able to mint the NFTs. We can mint Solana NFTs from the Candy Machine CLI easily. This is just our personal preference. Each NFT project using Candy Machine to mint NFTs, is always designated with a unique identifier (ID), which developers can use to verify the authenticity of the underlying asset on the Solana blockchain. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.d. If the command fails, you can run it again. ::: Because each project has a specific CMID, NFT bots will analyze the Solana blockchain to find listed CMIDs and try to mint the NFT before the launch starts. Be espescially careful with checking `seller_fee_basis_points` and `properties.creators` -- details below: ===================================================================== From the point of view of the creator, you can think of this config as a way to specify the attributes, commissions and aspects of your NFT. If you are uploading a lot of images, you might need more than 2 SOL. ```bash For added security, enter a BIP39 passphrase MIT License ```bash First, go read the fine manual Looking at key 2 7.png The Solana devnet RPC connection is not reliable. set the NFT as your profile picture, and # License The candy machine config lets you set the price, mint date and other attributes of the collection.

Sitemap 1