MarkSackerberg / umi-cmv3-ui-inofficial

https://umi-cmv3-ui-inofficial.vercel.app
58 stars 65 forks source link

The account at the provided address [NNN] is not of the expected type [CandyGuard]. Source: SDK #27

Closed fl0wm0ti0n closed 6 months ago

fl0wm0ti0n commented 6 months ago

The account at the provided address [7bAADNWyFhpYT6pg7qfV7hfTurZW2gP7cx3KxkyuvVyZ] is not of the expected type [CandyGuard]. Source: SDK Caused By: DeserializingEmptyBufferError: Serializer [i8] cannot deserialize empty buffers.

I did like in this tutorial to generate a candyguard, except that I used the actual version of it, and also this repo for UI and not the old V2 one. https://www.youtube.com/watch?v=dpZ98NUg_W0

image

My candymachine: https://www.solaneyes.com/address/5q1cXxhrtahPzcVgCTmM6JGmcCZCFEZ65e8jwiESsLYp

My solana sdk wallet with that i started all transactions: 7bAADNWyFhpYT6pg7qfV7hfTurZW2gP7cx3KxkyuvVyZ

My .env:

# Enter the Candy Machine Address below
NEXT_PUBLIC_CANDY_MACHINE_ID=5q1cXxhrtahPzcVgCTmM6JGmcCZCFEZ65e8jwiESsLYp
# Show box to choose how many NFTs to mint.
NEXT_PUBLIC_MULTIMINT=true
NEXT_PUBLIC_MAXMINTAMOUNT=2
# Is provided to you by the ui when initializing
NEXT_PUBLIC_LUT=
NEXT_PUBLIC_ENVIRONMENT=devnet
NEXT_PUBLIC_RPC=hXXXXXXX
NEXT_PUBLIC_BUYMARKBEER=true
#NEXT_PUBLIC_ENVIRONMENT=mainnet-beta
#NEXT_PUBLIC_RPC=https://solana-mainnet.rpc.extrnode.com
NEXT_PUBLIC_MICROLAMPORTS=1001

Thanks.

fl0wm0ti0n commented 6 months ago

ok i solved that as i updated my first guard!