Interested in launching your own NFT drop on @solana but not sure how?
A few people have been DM'ing us asking how to set up their own Candy Machine 🍬 NFT minting program on @metaplex. Here's a quick unofficial tutorial from reading the source code.
🧵1/n
3/ Now we'll want to create our NFT media itself. Take your beloved jpegs (actually the should be .png lol) and add them to a folder (e.g. in the root dir), naming them `0.png`, `1.png` etc.
4/ As well as the `.png` image files, we need accompanying `.json` metadata files for each with the same naming scheme, e.g. `0.json` corresponds to our `0.png` image.
5/ The JSON files should be laid out like so:
```
{
"name": "Based Bartosz NFT #1",
"symbol": "",
"seller_fee_basis_points": 0,
"properties": {
"creators": [
{ "address": "<your_address_here>", "share": 100 }
]
}
}
```
6/ Now navigate to the `cli` package source where we can start to run the cli tools:
```
cd packages/cli/src/
```
7/ Then upload the aforementioned (png, json) pairs to the @ArweaveTeam network using the following. This is where our files are stored immutably on the perma-web to be accessed later 🕸️
```
ts-node cli upload ~/path/to/your/images -k ~/.config/solana/id.json
```
8/ Now to create your Candy Machine! 🍬
You can specify the mint price of your NFT (in SOL) using the `-p` flag as shown:
```
ts-node cli create_candy_machine -k ~/.config/solana/id.json -p 1
```
This should also print the PDA of your candy machine.
9/ Next, we want to set the start date, after which our NFTs will be freely available for the public to mint ⏲️
```
ts-node cli set_start_date -k ~/.config/solana/id.json -d "04 Sep 2021 00:00:00 GMT"
```
10/ Here comes the fun part. Now that our Candy Machine is locked and loaded, it's time to mint 🖨️
For example, here we are minting to our own key, however you could specify any key here to mint to.
```
ts-node cli mint_one_token -k ~/.config/solana/id.json
```
A quick primer on how generative models have evolved!
🧵
For most of the last few years, 'Generative Adversarial Networks' were the best. Very simply, they played two AI's off against each other, the generator tried to trick the discriminator into believing the images it made were real, while the discriminator tried to distinguish them
But it is terrifically difficult to balance their training. It is easy for the discriminator to become so good that the generator cannot trick it - which mean's the generator no longer has any positive examples to learn from.
Launching from stealth mode, @ContrastiveNFT is a new NFT art collection focused on harnessing our imaginations through generative AI built on @Solana ✨
🧵
Contrastive harnesses state of the art transformer models to distill our collective imagination. What prompt do you think led to this image?
We were inspired by the power of generative models to give life to scenes previously locked within our minds. This allows for a new era of personalised expression, and lays the foundations for truly immersive experiences as the technology matures. Holo deck v0.1!