0

I built my frond-end with rainbowkit, using their example "with-next-mint-nft" on Github

The mint button is disabled when I change the smart contract address to my contract. It works when I use the smart contract address Rainbowkit provides in the example.

I tried many things : change my mint function, try other functions of the contract (and they worked) deploy on Goerli instead of Cronos Test Net, deploy on Cronos, try another example of smart contract...

It's as if, when I deploy a contract to the blockchain with Remix (and Metamask) then the mint function does not work "anymore".

Any idea of what I am missing here?

Here is my code on codesandbox. (I have some errors that don't show on VScode but "nmp run dev" runs the app anyway.

0 Answers0