You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1/ It has been solved, the reason is that there is no my contract price name in web3.js, just add it and it will work.
2/ Add the price name from your contract in this line of code and open the PR to deploy to vercel, reference PR #56.
src/mint/web3.js const methodNameVariants = ['price', 'cost', 'public_sale_price', 'getPrice']
3/ Finally, open the nftcomponents deployed in vercel and copy the URL. Modify the URL of script and link in HTML code in webflow. <script src="https://nftcomponents-duxef28qc-buildship.vercel.app/static/js/main.js"></script> <link href="https://nftcomponents-duxef28qc-buildship.vercel.app/static/css/main.css" rel="stylesheet">
PS: Only modify the URL part, do not modify the file suffix behind. “/static/js/main.js” and "/static/css/main.css"
Undoqaq
changed the title
Error "Buildship widget doesn't know how to fetch price from your contract."
Error "Buildship widget doesn't know how to fetch price from your contract."(has been resolved)
Jun 19, 2022
When I mint I get the error, please help me thanks.(has been resolved)
The text was updated successfully, but these errors were encountered: