minter-dapp
minter-dapp copied to clipboard
[Bug]: getting error 400 while trying to run "npm run deploy_contract"
Version
- [X] Yes
General Question
- [X] No
What happened?
keep getting error 400
What have you tried?
I Googled and asked the community in the discord server but could not find a solution.
Relevant log output
> [email protected] deploy_contract
> node utils/nftport/deployContract
Is all REQUIRED contract information correct in config.js? (y/n): y
CATCH ERROR: ERROR STATUS: 400
Protect your information
- [X] I Agree
What did you set for the MINT_PRICE? For me, I had it at a very, very small number. Changing it to const MINT_PRICE = 0.1; resolved the issue.
If that doesn't work for you, within backend/utils/nftport/deployContract.js after line 96, enter a new line and console log the contract. Then, post it in here and we can help you debug. Otherwise, yeah, the 400 error doesn't tell you much.