gagliardetto / metaplex-go

Go clients for the Metaplex Solana programs
MIT License
42 stars 30 forks source link

Existing CandyMachine Data #5

Open enzod3 opened 2 years ago

enzod3 commented 2 years ago

How would I grab an existing CandyMachine's data using this library? I combed through the functions but I can't seem to figure out how to get metadata like Price, Whitelist settings, etc. using the Candymachine ID.

gagliardetto commented 2 years ago

I haven't updated this library in a while, and there have been lots of new things in the metaplex ecosystem.

I suppose you're talking about CandyMachine V2? AFAIK it uses anchor, so you can generate a Go client using https://github.com/gagliardetto/anchor-go

I will refresh metaplex-go in a few weeks.