alvinsga / candy-machine-v2 Goto Github PK
View Code? Open in Web Editor NEWFork, customize and deploy your Candy Machine v2 super quickly
Home Page: https://candy-machine-v2-blush.vercel.app
License: MIT License
Fork, customize and deploy your Candy Machine v2 super quickly
Home Page: https://candy-machine-v2-blush.vercel.app
License: MIT License
How can i put a limit that so that one wallet can mint upto some specific number like maximum 10 goes to one wallet.
https://vercel-homie-app-lehdbkdwg-lucastoian.vercel.app/
when I click on the Mint button ..nothing happens
what causes this problem?
If you get this error even if your code is working fine locally, the answer could be that when you push to GitHub, for whatever Godforsaken reason, the .env file (that you changed from .env.example earlier) was pushed to the .gitignore file as text. DELETE THAT TEXT AND DO A NEW PUSH TO GITHUB AND VOILA.
Hope this helps at least a few, lol. Mad luv to the community builders! Thanks Alvinsga!! :)
Bascially Title.
The counter is always at x/11 NFT's available, so i'm able to keep minting even though there are no more NFT's. How is this even possible using the candy machine and what could be a potential fix?
I would like to try your nice app, but I am not used to work with Vite. I installed Vite using
apt-get install -y vite
When I tried to 'yarn build' the repository on my linux server I got the following message:
////////////////////////////////////////////////////////////
candy-machine-v2# yarn build
yarn run v1.22.17
$ vite build
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Aborted
error Command failed with exit code 134.
///////////////////////////////////////////////////////////
Any suggestions how to continue? If this is not the proper channel to address this please let me know. Thank you.
We currently have our mint Live.
https://oikattoi-art.web.app/
You will notice that sometimes, the page will not load correctly. It basically doesn't recognize that Phantom is installed, and says to "Get Phantom Wallet".
If you do a CTRL F5, it works!
Please check this, and help us fix it.
It's causing minting problems for many.
Tried with devnet and mainnet
I have checked many times and I put everything in the env file correct and it says "transaction may fail" and then just doesn't mint
It shows the price and how many are left correctly just mint is broken, I have whitelist disabled in config and time is correct
love the project and succesfully launched it one time, decided i want to try adding my own gif file to the /public folder.. shut down yarn dev server, added new gif, changed code in app.svelte to reflect path and file name to new gif, saved, ran yarn dev and now the app won't load and its stuck spinning. let me know if theres any ideas to fix. interested in using in my front end project
Thanks a lot for this awesome repository. I am almost done with my website and NFT project.
How can I integrate a frontend to this.
I tried buying a HTML theme and integrating but it is throwing errors when deploying to Vercel.
Thanks a lot for this release.
This is great.
Awesome work, thank you!!
Is it possible to enable minting multiple at a time?
Hey there. First of all thanks for making this super cool repo!
When running "yarn dev", the site works perfect, everything works fine (minting, etc)
However, I tried to deploy the app after pushing it to my git repo. The deployment goes fine, however when I open the site it says: "An error occurred. Please check if your environment variables have been populated correctly and redeploy the application."
Any ideas of what it could be? I tried the candy-machine ID with the original candy-machine-v2 and the deploy went fine in that case.
Any help is appreciated!
I need to press several times ctrl + f5 to be able to mint
Everything worked fine as long as I was using the free rpc : https://api.mainnet-beta.solana.com
I decided to upgrade it to a quicknode solana rpc, the minting button still works but I need to refresh the page many time before make it working
I don't have this issue in localhost
https://user-images.githubusercontent.com/72082971/150749847-6ead9848-f12c-4740-858c-53b3c666fc17.mp4
this block throws errors if "goLiveDate" is null
state.data.goLiveDate.toNumber() < new Date().getTime() / 1000 &&
(state.endSettings
? state.endSettings.endSettingType.date
? state.endSettings.number.toNumber() > new Date().getTime() / 1000
: itemsRedeemed < state.endSettings.number.toNumber()
: true),```
love this repo.. trying to make it work for myself but newer to dev work so bear with me if this is a dumb question.. not so much an issue.
how do I go about creating tabs like pictured here? I'd like to be able to add a few myself but am not quite sure how to do so. Are they separate components that render?
Hy, when you will release captcha?
When hosting over https via custom domain, webpage constantly refreshing, any idea how to fix that?
VITE_APP_CANDY_MACHINE_ID=
VITE_APP_SOLANA_NETWORK=
VITE_APP_SOLANA_RPC_HOST=
VITE_APP_GOOGLE_ANALYTICS=
if i dont have a custom rpc can i invalid the rpc host command?
Hi thank your for the repo,
I was able to successfully deploy to vercel but when i Mint the transaction keeps failing,
do you have any recommendations to fix this issue?
How are you serving this over HTTPS?
When doing so with nginx as a reverse proxy, app is crashing with following error:
client.ts:28 WebSocket connection to 'wss://siteurl:3000/' failed:
(anonymous) @ client:188
client.ts:222 [vite] server connection lost. polling for restart...
Working fine on devnet, same configuration on mainnet says invalid date.
checked the metaplex standard for the candy machine
How would I add more Solana wallets?
Hi everbody,
I am trying to upload my images and metadata with an apikey form Datahub, command:
npx ts-node js/packages/cli/src/candy-machine-v2-cli.ts upload -curl https://solana--devnet--rpc.datahub.figment.io/apikey/ MY APIKEY /health -e devnet -k ~/.config/solana/devnet.json -cp config.json -c boom ./assets
something is wrong with this command, output is :
errno: -4058,
syscall: 'scandir',
code: 'ENOENT',
path: 'https://solana--devnet--rpc.datahub.figment.io/apikey/ MY APIKEY /health'
can somebody please help out, its all for devnet, I d like to understand the mechanics before deploying on mainnet. Thanks in advance.
Hy, how could I change the monkeys with other images?
when i run yarn dev no site is created
anyone have any idea?
I updated the script due to problems with the node.js. I found in the internet the following sollution given:
"scripts": {
"start": "react-scripts --openssl-legacy-provider start",
"build": "react-scripts --openssl-legacy-provider build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"deploy:gh": "gh-pages -d ./build/ --repo https://github.com/pit-v/metaplex -t true --branch gh-pages-3",
"deploy": "cross-env ASSET_PREFIX=/metaplex/ yarn build && yarn deploy:gh"
},
Is that a good sollution? I have personally no idea. I am no developer... Greetings.
How exactly would I go about changing the background? Much luv on the work homie.
Hi Team,
I have been following the below article for setting up the minting website.
https://docs.metaplex.com/candy-machine-v2/creating-candy-machine
Currently, I am at the candy machine creation step but have been getting the below errors.
poorva@DESKTOP-9G4452V:/mnt/c/Users/Virtuos/Downloads/nft/metaplex$ ts-node /mnt/c/Users/Virtuos/Downloads/nft/metaplex/js/packages/cli/src/candy-machine-v2-cli.ts upload -e devnet -k ~/.config/solana/pokemon-key.json -cp config.json -c example ./assets-pictures
/usr/lib/node_modules/ts-node/src/index.ts:820
return new TSError(diagnosticText, diagnosticCodes);
^
TSError: ⨯ Unable to compile TypeScript:
js/packages/cli/src/candy-machine-v2-cli.ts:4:10 - error TS2305: Module '"commander"' has no exported member 'InvalidArgumentError'.
4 import { InvalidArgumentError, program } from 'commander';
~~~~~~~~~~~~~~~~~~~~
js/packages/cli/src/candy-machine-v2-cli.ts:4:32 - error TS2305: Module '"commander"' has no exported member 'program'.
4 import { InvalidArgumentError, program } from 'commander';
~~~~~~~
js/packages/cli/src/candy-machine-v2-cli.ts:5:25 - error TS2307: Cannot find module '@project-serum/anchor' or its corresponding type declarations.
5 import * as anchor from '@project-serum/anchor';
~~~~~~~~~~~~~~~~~~~~~~~
js/packages/cli/src/candy-machine-v2-cli.ts:41:17 - error TS2307: Cannot find module 'loglevel' or its corresponding type declarations.
41 import log from 'loglevel';
~~~~~~~~~~
at createTSError (/usr/lib/node_modules/ts-node/src/index.ts:820:12)
at reportTSError (/usr/lib/node_modules/ts-node/src/index.ts:824:19)
at getOutput (/usr/lib/node_modules/ts-node/src/index.ts:1014:36)
at Object.compile (/usr/lib/node_modules/ts-node/src/index.ts:1322:43)
at Module.m._compile (/usr/lib/node_modules/ts-node/src/index.ts:1454:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Object.require.extensions.<computed> [as .ts] (/usr/lib/node_modules/ts-node/src/index.ts:1458:12)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
diagnosticCodes: [ 2305, 2305, 2307, 2307 ]
}
I tried downgrading the node versions as a part of the resolution for the above errors, but that too didn't work.
Kindly help!
Hy,
I edited your index.html and created my site using uikit.
I wrote my code around your minting button component<div id="app"></div> <script type="module" src="/src/main.ts"></script> <script> var global = global || window; </script>
when I test my application the page is blinking, as if it were loading several times, what is the cause of this behavior? It is like a "Flickering"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.