Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Candy machine not initialized #31

Open
0xsergen opened this issue Oct 25, 2022 · 7 comments
Open

Candy machine not initialized #31

0xsergen opened this issue Oct 25, 2022 · 7 comments

Comments

@0xsergen
Copy link

0xsergen commented Oct 25, 2022

All process is successfully completed until the front end. There is an initialization issue, thus there are some bugs on frontend.
image

It gives that error on console. I think there is an issue about
Candy machine not initialized on given address for chain dev

Edit: It seems the issue about contract address.

What should I type for CONTRACT_ADDRESS in candyMachineInfo.js and constants.py files?

@bilaljawed
Copy link

All process is successfully completed until the front end. There is an initialization issue, thus there are some bugs on frontend. image

It gives that error on console. I think there is an issue about Candy machine not initialized on given address for chain dev

Edit: It seems the issue about contract address.

What should I type for CONTRACT_ADDRESS in candyMachineInfo.js and constants.py files?

when you run cli command, it gives output like:

=== Preparing Candy Machine account ===
Public key: xxx

The public key is your candy machine address

@0xsergen
Copy link
Author

when you run cli command, it gives output like:

=== Preparing Candy Machine account ===
Public key: xxx

The public key is your candy machine address

If I put public key into contract address as well, it gives the error that I mentioned. Which parameter should I use for CONTRACT_ADDRESS?

@emmanuelnwogbo
Copy link

All process is successfully completed until the front end. There is an initialization issue, thus there are some bugs on frontend. image

It gives that error on console. I think there is an issue about Candy machine not initialized on given address for chain dev

Edit: It seems the issue about contract address.

What should I type for CONTRACT_ADDRESS in candyMachineInfo.js and constants.py files?

Currently facing this issue too. Have you been able to figure it out?

@0xsergen
Copy link
Author

0xsergen commented Oct 26, 2022

Currently facing this issue too. Have you been able to figure it out?

Not yet.

@bilaljawed
Copy link

when you run cli command, it gives output like:

=== Preparing Candy Machine account ===
Public key: xxx

The public key is your candy machine address

If I put public key into contract address as well, it gives the error that I mentioned. Which parameter should I use for CONTRACT_ADDRESS?

The public key is contract address, it works fine, just make sure your wallet is on the same network, I have double checked and frontend is also on the same network (RPC URL)

@0xsergen
Copy link
Author

My contract and frontend are both on devnet and use same RPC URL.

@emmanuelnwogbo
Copy link

when you run cli command, it gives output like:

=== Preparing Candy Machine account ===
Public key: xxx

The public key is your candy machine address

If I put public key into contract address as well, it gives the error that I mentioned. Which parameter should I use for CONTRACT_ADDRESS?

The public key is contract address, it works fine, just make sure your wallet is on the same network, I have double checked and frontend is also on the same network (RPC URL)

Please may I ask how you get the contract address that you added to the constants.py file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants