Comments (4)
I tried changing the anchor version to other stable releases but no luck at all. I found that Metaplex has recently updated the documentation. There are new ways to connect with the Cany Machine, I will try and update here.
https://docs.metaplex.com/programs/candy-machine/how-to-guides/my-first-candy-machine-part2
from metaplex.
Yes for me as well- Error: Invalid option tokenMint
i am using candy-machine-ui
, npm i, create .env, and insert my REACT_APP_CANDY_MACHINE_ID=***
I wonder if it has todo with candy-machine-ui using "@project-serum/anchor": "^0.17.0",
dependency - im not sure
in candy-machine-ui it looks like it is happening at getCandyMachineState
, Home.tsx
line: 99 ->
which calls candy-machine.ts
and im seeing issues resolving
const state: any = await program.account.candyMachine.fetch(candyMachineId);
program.account.candyMachine looks like it has the following attributes from logs
_coder:
_idlAccount:
_programId:
_provider:
_size:
coder: (...)
programId:(...)
provider:(...)
size:(...)
but getProgramState()
doesnt seem to get past this line await program.account.candyMachine.fetch(
from metaplex.
Haha, some progress with the new Metaplex guide. I have a different error now.
:82 Uncaught (in promise) TypeError: (0 , types_BigNumber_mjs__WEBPACK_IMPORTED_MODULE_3_.toBigNumber)(...).toBuffer is not a function
at toCandyMachine (CandyMachine.mjs:82:54)
at Object.handle (findCandyMachineByAddress.mjs:59:40)
at async Disposable.run (Disposable.mjs:22:1)
toCandyMachine @ CandyMachine.m
from metaplex.
For those who still find the answer, the problem is using the incorrect program id (candy machine v1, v2, or v3) for the account. You can search at https://explorer.solana.com/
by your CANDY_MACHINE_ID
and find assigned program id
, the actual program id that suits your candy machine version. Then set the id to candyMachineProgram
in above snippet
from metaplex.
Related Issues (20)
- Mainnet Candy Machine Number of items (11) do not match cache items (500). Item number in the config should only include asset files, not the collection file. HOT 1
- non-base58 character HOT 1
- Failed to serialize or deserialize account data: Unknown
- create nft issue in metaplex
- Probably issue with the REACT_APP_SOLANA_RPC_HOST value in my .env file
- Not enough funds ERROR while uploading image to arweave with metaplexFile uploadMetadata
- https://rpc-devnet.aws.metaplex.com - 504 Gateway Time-out
- AccountNotFoundError: The account of type [BidReceipt] was not found at the provided address
- I am having `ParsedProgramError` whlie mint programmable NFT HOT 1
- SyntaxError: Unexpected token n in JSON at position 4 HOT 1
- TS2305: Module '"../../node_modules/@metaplex/js/lib"' has no exported member 'Account'
- Encountering "Not enough tokens on the account" Error During Minting in Metaplex HOT 3
- Failed to serialize or deserialize account data: Unknown
- Cant create CandyMachine using umi HOT 1
- Program Error: "Instruction #5 Failed"
- Yarn install error
- Trying to fetch some SPL tokens metadata results in a CORS error
- minting additional NFTs based on the same candy machine
- Error creating token: TypeError - Cannot read properties of undefined (reading 'toBuffer')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metaplex.