Meta Blocks Avatars are now called 3moji. Relies on cryptographic guarantees for security. ", "8J4tQgSifp1ibwXbMVBBKjry1YoSaoSLSMTkYQjsyzUA", Requesting airdrop of 2 SOL Be espescially careful with checking `seller_fee_basis_points` and `properties.creators` -- details below: ended at: 2022-01-28T14:14:26.735Z. For the most convenient setup, creators are encouraged to use the frontend UI provided by Metaplex. - after the code is finished downloading, run --cwd ./js/ in the project root folder (do not change folders). $ find assets -type f -name '*.json' | xargs jq '.seller_fee_basis_points' | sort | uniq -c ```bash ``` wallet public key: 9WS1ezpcxDVfA8cWGzDswCxfXWPtc6xcrkEk9gN6PWh8 $ find assets -type f -name '*.json' | xargs jq '.properties.creators' | jq -c '. No instructions provided 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. Explore and interact with Solana NFTs created by Metaplex's Candy Machine v2. We can also view the on-chain metadata json created by Candy Machine. 2 SOL, node ../build/candy-machine-v2-cli.js upload \, Beginning the upload for 5 (img+json) pairs Requires waiting through a 1-week delay (dispute period) before withdrawing funds. You can read more about creating metadata files in Avana Wallet NFT documentation. This functionality ensures that theres a level playing field when it comes to minting NFTs using Candy Machine v2. Some important problems that have been addressed in the latest update include the following: In general, there was a clear need to create an easier way to solve the most fundamental problems that buyers, sellers, and marketplaces experienced in the NFT landscape. #### check the total number of assets, json and image files confirm these add up. Then set the Solana RPC connection. Installing and using Solana Candy Machine V2 requires If you're running into issues ===================================================================== Update Authority: Solana address that is able to update the NFT metadata. In this tutorial, we will mint NFTs on Solana using the Candy Machine v0.0.2. Connect a relevant Solana wallet and add funds to create and deploy a Candy Machine. ::: The second-iteration eliminates this possibility by using an unpredictable mint index, which is not possible to predict. Because any SPL token can be used to create whitelists, it is up to the project creator's discretion how they are distributed. ```bash Maybe you live life on the edge. This project is under active development. ``` We need a Solana wallet to make contract calls to create these NFTs. For the first 500 developers, all usage is free through 2022. minted 5 tokens Make sure your assets are numbered consecutively, and they do not have any gaps (for instance, 0, 1, 2, 3, 4, 5, and not 0, 1, 3, 4, 5). intermediate programming experience - this might be challenging for those who are new to coding. Typically, the verified creator will be the Candy Machine by default. This is where permanent mistakes are made. ``` And here's how you can fund that wallet: We are almost ready to create your Candy Machine. We will also add a script to mint NFTs to your wallet via the CLI. #### Updating your candy-machine 2.json ===================================================================== Usage: candy-machine-cli [options] [command] No instructions provided Read more about NFTs in Avana Wallet Docs.
By clicking below, you agree to our terms of service. npx ts-node ./js/packages/cli/src/candy-machine-v2-cli.ts mint_one_token -e devnet -k ~/.config/solana/keypair.json -c example, You can mint multiple tokens by using the command mint_multiple_tokens, npx ts-node ./js/packages/cli/src/candy-machine-v2-cli.ts mint_multiple_tokens -e devnet -k ~/.config/solana/keypair.json -c example --number 2. This project is a learning project around Solana NFTs, and builds up example JavaScript code that interacts with Solana NFTs from the browser. ### Running candy machine command line utility `solana config set --url https://api.devnet.solana.com` Requesting airdrop of 10 SOL Mint Authority: Solana address that is able to mint the NFTs. 3.json It's normal for the `ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-cli.ts upload` command to emit numerous errors, espescially on larger collections. The Candy Machine can only mint NFTs to users after your goLiveDate setting in config.json. :::info
`solana help balance` and #### Uploading your project assets Also notice that we're starting with 0.json + 0.png, because that's the default value for the `--start-with`. [] | [.address,.share]' | sort | uniq -c $ find assets -type f -name '*.json' | wc -l # count the metadata files NOTE! The project is about 90 megabytes and could take a couple minutes to download. The second version of Candy Machine provides many functionality improvements over its predecessor. ## for most projects, your just paging through and confirming $ ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-cli.ts help Looking at key 1 BIP39 Passphrase (empty for none): Developers can clone the Metaplex repository by pulling the CLI from GitHub. ```bash To configure this, create a file called config.json in js/packages/tara: To get more info about each key value pair, refer to the official Metaplex documen at https://docs.metaplex.com/candy-machine-v2/configuration. Arguments:
Do not use Solana mainnet with SOL until you First, go read the fine manual Acceptance of buyer funds even when the underlying project was out of NFTs to sell, Not having a precise and global start time, Projects were not producing consistent, valid NFTs, Protection from persistent NFT bot attacks, Creating an on-chain collection of NFTs for authentication purposes. $ ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-cli.ts verify Set a start date and or price using: Also, notice that Candy Machine automatically created a Collection NFT.
https://github.com/exiled-apes/candy-machine-mint If the command fails, you can run it again. - mint individual tokens with _mint_one_token_ This guide and the accompanying candy-machine-mint web starter kit enable you to launch NFTs on Solana with zero knowledge of Rust. Now that you have completed the majority of the initialization steps, your Candy Machine is ready to mint Solana NFTs. NFTs welcomed :) Version 2 enables you to 10 ["",30] ```bash Make sure that you name then 0.png, 1.png and so on. ## 1.json should refer to 1.png in the .image and .files props I highly recommend making devnet your default solana url: - configure it Subsequently, by downloading the relevant dependences, end-users should be able to compile and run the software. :::info If running the program on Mac OS with the Apple M1 chip, additional dependencies will be required. $ solana airdrop 10 # request funds ::: `metaplex` is a command line tool for interacting with the candy-machine program. 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. ## for most projects, you should see a consistent count across all parties (address-[1..3]) `metaplex upload` handles more than just sending files to arweave. 1.json You have two options: use an existing keypair with funds, or create a new keypair and add funds.
Using Candy Machine v2, developers and creators can set up their own Solana NFT shops, add a mint page to their website, and safely launch a successful NFT project. Explore 10 of the most popular and Solana NFT collections, and discover the characteristics that make them special like team, utility, roadmap, and artwork. Install the Solana Command-line Tools If the NFT was supposedly generated on Candy Machine but lacks a Candy Machine ID (CMID), users should be cautious of minting, buying, or trading for the NFT. According to Metaplex, over 11.5 million NFTs have been minted using the organizations protocols which have provided standards & tools for more than 100,000 projects and online communities. 0.png As the Candy Machine is a distribution program for NFTs, its important for it to be loaded with your projects artwork and metadata. Note that if you enabled captcha bot protection, then you will not be able to mint tokens from the command line. We are not going to add a BIP39 passphrase to simplify the tutorial. #### check `symbol` values - _verify_ the state of your candy-machine is valid and complete https://docs.solana.com/cli Nonetheless, users should check whether everything has been installed properly and ensure that they have defined environment variables. #### Fund devnet wallet -e, --env Solana cluster env name (default: "devnet") ## this command lists then sorts all of your name values. Devnet serves as a playground for anyone who wants to take Solana for a test drive, as a user, token holder, app developer, or NFT publisher.
update_candy_machine [options] ### Uploading Each png and json file are combined to represent a single Solana NFT. Candy Machine V2 is the second iteration, and it is now a fully on-chain generative NFT distribution program.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. As a result of the upgrade, Candy Machine v1 has been deprecated and is no longer supported. If you decide to create a website, you can follow the steps outlined here: https://docs.metaplex.com/candy-machine-v2/mint-frontend. Minting an NFT is the process of creating a token, freezing its maximum supply to 1 and attaching Metaplex NFT standard JSON to it, so a wallet can render it. 4.png ```bash 10 SOL Congratulations! The motivation behind Candy Machine was to address problems with the way NFT drops were being managed and processed on the Solana blockchain. At this point, your NFTs are ready on the chain. No instructions provided Drop your details to get notified when we launch , NFTs are rigid because there is no standard for upgrading them, How to build a Metaverse? It's not uncommon for me to wait 10-15 minutes to see it serve images and metadata. Looking at key 2 noMutable: False means you can update the on-chain metadata. 10 ["",60] This non-randomized order created the opportunity to be able to choose which NFT to mint, given that all of the information about the items was available on-chain. ``` THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. For the purposes of this article, we will solely focus on Candy Machine, often described as working like the gumball-style candy machinewhere users insert one token to receive an NFT. ```bash We highly recommend using Solana devnet to practice deploying Candy Machine and minting NFTs. The goal of this project is to let you: :::warning Once you have finished minting, you may want to consider you will want to sign your NFTs to verify yourself as the creator. --keypair ~/.config/solana/devnet.json \ ## 0.json should refer to 0.png in the .image and .files props This collection will be called "Tara". This implies that end-users are unable to purchase NFTs ahead of the mint time and once the limit of NFT mints has been reached, no more are generated. - customize your own ui Youre all set and ready to mint your very first NFT using Candy Machine v2. Also remember that bugs in this data determine whether you get paid or not. #### Create devnet wallet (for testing) #### Validating your candy-machine Then, add funds.
Generating a new keypair ```bash --price 1 \ # Metaplex Candy Machine Processing file: 1 NOTE: If you are not able to upload at all, you can try to clear the cache and try again. Writing indices 0-4 Configuring Candy Machine is very important, so double and triple check your settings. Processing asset: 4 Make sure you keep the date formatting consistent with the example. pubkey: 7zMqBkHowtpEC8iayNmCoT42T8dKjikzmTbZX5aNJbhJ [1]' | jq -s 'add' sign [options]
In the js/packages/cli/tara directory, run the following command to upload the assets to Arweave: On successful completion, you will get an output that looks like this: Take a not of the candy machine public key. This is because there is a general expectation that once an individual puts a token into the machine, they will only receive one item. ``` The value of the variable REACT_APP_CANDY_MACHINE_PROGRAM_ID is the public key of the candy machine computed in Step 6 (AuuLoYV9kx8HKWrpnJCT5whgURqd5MwxckWesL5arqh). The Candy Machine reads a JSON file that can be adjusted to your preferences. 100 Once you are ready run: npx ts-node ./js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ~/.config/solana/keypair.json -cp config.json -c example ./assets. In that case you can skip this step. It will: Metaplex has three major projects; Token Metadata, Candy Machine, and Auction House. There is a single account on-chain that holds all the configuration of a Candy Machine and you can make changes to your configuration in the future. minting another token The Solana devnet RPC connection is not reliable. This will create a new keypair for you. arweave is rarely able to show your your assets right away. 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. I don't fully understand the replication process, but know that it takes time. ``` To start, you will need the following Solana development tools downloaded on your local machine. `solana config set --keypair ~/.config/solana/devnet.json`
use `git pull` to ensure you're running the latest and greatest version. Uses a simulation of the Ethereum Virtual Machine (EVM), which allows it to run arbitrary logic and support smart contracts. ## the pattern looks like you'd expect it to. There are a few reasons why developers should consider using Candy Machine. :::info We can then view the Solana NFT mint transaction on Solana Explorer. :::warning 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. directory Directory containing images named from 0-n create_candy_machine [options] You can check to make sure that everything installed properly by running npx ts-node ./js/packages/cli/src/candy-machine-v2-cli.ts --version. minting front-end application written in React, Retrieving NFTs minted from Candy Machine v2. The Metaplex docs can walk you through all advanced options and settings. -h, --help display help for command It's based on me just reading code and figuring out how it's meant to be used--so don't assume I'm right or completely correct about anything.
By clicking below, you agree to our terms of service. npx ts-node ./js/packages/cli/src/candy-machine-v2-cli.ts mint_one_token -e devnet -k ~/.config/solana/keypair.json -c example, You can mint multiple tokens by using the command mint_multiple_tokens, npx ts-node ./js/packages/cli/src/candy-machine-v2-cli.ts mint_multiple_tokens -e devnet -k ~/.config/solana/keypair.json -c example --number 2. This project is a learning project around Solana NFTs, and builds up example JavaScript code that interacts with Solana NFTs from the browser. ### Running candy machine command line utility `solana config set --url https://api.devnet.solana.com` Requesting airdrop of 10 SOL Mint Authority: Solana address that is able to mint the NFTs. 3.json It's normal for the `ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-cli.ts upload` command to emit numerous errors, espescially on larger collections. The Candy Machine can only mint NFTs to users after your goLiveDate setting in config.json. :::info
`solana help balance` and #### Uploading your project assets Also notice that we're starting with 0.json + 0.png, because that's the default value for the `--start-with`. [] | [.address,.share]' | sort | uniq -c $ find assets -type f -name '*.json' | wc -l # count the metadata files NOTE! The project is about 90 megabytes and could take a couple minutes to download. The second version of Candy Machine provides many functionality improvements over its predecessor. ## for most projects, your just paging through and confirming $ ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-cli.ts help Looking at key 1 BIP39 Passphrase (empty for none): Developers can clone the Metaplex repository by pulling the CLI from GitHub. ```bash To configure this, create a file called config.json in js/packages/tara: To get more info about each key value pair, refer to the official Metaplex documen at https://docs.metaplex.com/candy-machine-v2/configuration. Arguments:
Do not use Solana mainnet with SOL until you First, go read the fine manual Acceptance of buyer funds even when the underlying project was out of NFTs to sell, Not having a precise and global start time, Projects were not producing consistent, valid NFTs, Protection from persistent NFT bot attacks, Creating an on-chain collection of NFTs for authentication purposes. $ ts-node ~/metaplex-foundation/metaplex/js/packages/cli/src/candy-machine-cli.ts verify Set a start date and or price using: Also, notice that Candy Machine automatically created a Collection NFT.
https://github.com/exiled-apes/candy-machine-mint If the command fails, you can run it again. - mint individual tokens with _mint_one_token_ This guide and the accompanying candy-machine-mint web starter kit enable you to launch NFTs on Solana with zero knowledge of Rust. Now that you have completed the majority of the initialization steps, your Candy Machine is ready to mint Solana NFTs. NFTs welcomed :) Version 2 enables you to 10 ["
Using Candy Machine v2, developers and creators can set up their own Solana NFT shops, add a mint page to their website, and safely launch a successful NFT project. Explore 10 of the most popular and Solana NFT collections, and discover the characteristics that make them special like team, utility, roadmap, and artwork. Install the Solana Command-line Tools If the NFT was supposedly generated on Candy Machine but lacks a Candy Machine ID (CMID), users should be cautious of minting, buying, or trading for the NFT. According to Metaplex, over 11.5 million NFTs have been minted using the organizations protocols which have provided standards & tools for more than 100,000 projects and online communities. 0.png As the Candy Machine is a distribution program for NFTs, its important for it to be loaded with your projects artwork and metadata. Note that if you enabled captcha bot protection, then you will not be able to mint tokens from the command line. We are not going to add a BIP39 passphrase to simplify the tutorial. #### check `symbol` values - _verify_ the state of your candy-machine is valid and complete https://docs.solana.com/cli Nonetheless, users should check whether everything has been installed properly and ensure that they have defined environment variables. #### Fund devnet wallet -e, --env
update_candy_machine [options] ### Uploading Each png and json file are combined to represent a single Solana NFT. Candy Machine V2 is the second iteration, and it is now a fully on-chain generative NFT distribution program.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. As a result of the upgrade, Candy Machine v1 has been deprecated and is no longer supported. If you decide to create a website, you can follow the steps outlined here: https://docs.metaplex.com/candy-machine-v2/mint-frontend. Minting an NFT is the process of creating a token, freezing its maximum supply to 1 and attaching Metaplex NFT standard JSON to it, so a wallet can render it. 4.png ```bash 10 SOL Congratulations! The motivation behind Candy Machine was to address problems with the way NFT drops were being managed and processed on the Solana blockchain. At this point, your NFTs are ready on the chain. No instructions provided Drop your details to get notified when we launch , NFTs are rigid because there is no standard for upgrading them, How to build a Metaverse? It's not uncommon for me to wait 10-15 minutes to see it serve images and metadata. Looking at key 2 noMutable: False means you can update the on-chain metadata. 10 ["
Generating a new keypair ```bash --price 1 \ # Metaplex Candy Machine Processing file: 1 NOTE: If you are not able to upload at all, you can try to clear the cache and try again. Writing indices 0-4 Configuring Candy Machine is very important, so double and triple check your settings. Processing asset: 4 Make sure you keep the date formatting consistent with the example. pubkey: 7zMqBkHowtpEC8iayNmCoT42T8dKjikzmTbZX5aNJbhJ [1]' | jq -s 'add' sign [options]
In the js/packages/cli/tara directory, run the following command to upload the assets to Arweave: On successful completion, you will get an output that looks like this: Take a not of the candy machine public key. This is because there is a general expectation that once an individual puts a token into the machine, they will only receive one item. ``` The value of the variable REACT_APP_CANDY_MACHINE_PROGRAM_ID is the public key of the candy machine computed in Step 6 (AuuLoYV9kx8HKWrpnJCT5whgURqd5MwxckWesL5arqh). The Candy Machine reads a JSON file that can be adjusted to your preferences. 100 Once you are ready run: npx ts-node ./js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ~/.config/solana/keypair.json -cp config.json -c example ./assets. In that case you can skip this step. It will: Metaplex has three major projects; Token Metadata, Candy Machine, and Auction House. There is a single account on-chain that holds all the configuration of a Candy Machine and you can make changes to your configuration in the future. minting another token The Solana devnet RPC connection is not reliable. This will create a new keypair for you. arweave is rarely able to show your your assets right away. 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. I don't fully understand the replication process, but know that it takes time. ``` To start, you will need the following Solana development tools downloaded on your local machine. `solana config set --keypair ~/.config/solana/devnet.json`
use `git pull` to ensure you're running the latest and greatest version. Uses a simulation of the Ethereum Virtual Machine (EVM), which allows it to run arbitrary logic and support smart contracts. ## the pattern looks like you'd expect it to. There are a few reasons why developers should consider using Candy Machine. :::info We can then view the Solana NFT mint transaction on Solana Explorer. :::warning 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. directory Directory containing images named from 0-n create_candy_machine [options] You can check to make sure that everything installed properly by running npx ts-node ./js/packages/cli/src/candy-machine-v2-cli.ts --version. minting front-end application written in React, Retrieving NFTs minted from Candy Machine v2. The Metaplex docs can walk you through all advanced options and settings. -h, --help display help for command It's based on me just reading code and figuring out how it's meant to be used--so don't assume I'm right or completely correct about anything.