Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It would be great if it had any description. Because it's not very clear what _Sugar Candy Machine_ does. I mean, I guess I understand what it does IRL, but in Rust as a software? It doesn't make any sense to me. Or it's a CLI to some cooking hardware?


Yeah, absolutely not clear what it is. Google reveals something about NFTs, so I guess I'll pass.


Metaplex's Candy Machine) is the most widely used Solana Program for minting Solana NFTs [Note: Smart Contracts are called "Programs" in the Solana ecosystem].

Metaplex released Candy Machine V2, but Sugar seems to be a brand new rewrite of the program and the successor of CMv2 - However it seems it's still in beta. The CLI just lets you interact with the Solana BlockChain to register NFTs (Setup Mint Authority etc.)

The reason it's written in Rust is because Solana uses Rust. Similar to how Etherium Smart Contracts need to be written in Solidity, Solana Programs need to be written in Rust.

I know it's not the best explanation but I hope it helps clarify things at least a little.


I searched it: https://docs.metaplex.com/overviews/candy_machine_overview

> The Candy Machine, or CM for short, is a Solana Program designed to reliably sell one NFT at a time.

In other words, it's just meant to be a reliable bug/exploit free smart contract people can use to sell NFTs.


I didn't know what it was either. I googled it. It's NFT stuff.


the indirection in these crate names is too damn high




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: