henrique1837 / snowflakeshash-dapp

The Snowflakes are Avatars waiting to be claimed by anyone on xDain Chain. Tests available at Rinkeby testnetwork
MIT License
0 stars 0 forks source link

Unable to mint #1

Open mjhd opened 2 years ago

mjhd commented 2 years ago

Hello, tried to initiate a mint on Gnosis @ Snowflakeshash dweb.link site - I'm able to connect Metamask and try to mint and get "project id required" message below and then the application stalls out - is anyone else having trouble minting to your knowledge? Anyway, would love to mint a snowflake if I can, I looked at the smart contract blockscout, but I don't know how to handle the fee field? Thanks in advance! Fun project : )

henrique1837 commented 2 years ago

Hi broooooo thanks for leaving a issue here! It has began since infura nodes stopped being public. I need to change to use nft.storage. The fee field is royalty, in the dapp it is filled with the minter address and 0.5% (500) - You can check here https://github.com/henrique1837/snowflakeshash-dapp/blob/aragon-ui_version/packages/react-app/src/screens/Mint.js#L86

I will post here when I change to nft.storage. Dont need to do it from blockexplorer. Thanks for contact broooooo!!!

henrique1837 commented 2 years ago

It is already changed to use nft.storage, you should be able to see a ipfs hash before metamask pops up asking for transaction confirmation. If you click it it will show the metadata of the nft to be minted.

Let me know if I can close the issue. Thank you

mjhd commented 1 year ago

Hey - sorry for late reply! Inbox SO spammed lately...

So when I try to mint I get this:

1) Storing image and metadata at IPFS ... 2) Link flashes quickly 3) Internal JSON-RPC error.

The link it gave me was this: https://bafkreiarwboif4yuywyrav6wbrxbkaszpo6jflaaet3abzuiofqzrtmggy.ipfs.nftstorage.link

It's contents are:

{"name":"radmadical","description":"radical snowflake","image":"ipfs://bafkreidelaaioxu74gz7wiudbioizxmscefjg3ql224moojga7ratj5qtu","external_url":"https://dweb.link/ipns/snowflakeshash.crypto"}

No NFT looks to be minted that I can see : (

Sorry if this is bad news - but I hope the info helps! Thanks : )

henrique1837 commented 1 year ago

Hi thank you very much for reporting it. It looks to be error with the wallet's rpc. Are you using https://rpc.gnosischain.com as rpc? I had that problem when xdai rebranded to gnosis. I had to reimport xdai again using https://chainlist.org/ Let me know if that is the problem, thank you !