Ty-Sir / OpenMint

OpenMint is a dapp where you can create, buy, and sell art-based ERC-721 tokens.
MIT License
40 stars 44 forks source link

abi issue #9

Open staminna opened 2 years ago

staminna commented 2 years ago

Dear Ty-Sir,

I run the abi.js file into a validator, and it does not seem valid JSON anymore. https://abi.hashex.org/ I understand the tables and arguments but the video you provided uses different names on the ABI file and I can not seem to figure them out. Apparently, Moralis does not throw any error either. Can you please help?

Thanks

Ty-Sir commented 2 years ago

Why are you running it through a validator? The abi is there for web3 calls and is referenced when a contract instance is made. Moralis now uses ethers.js by default unless otherwise specified. When this was built they used web3.js so that will cause issues when making contract calls. But I'm redoing the whole project so no worries. If you need help on specific things feel free to email me at tysirdev@protonmail.com

staminna commented 2 years ago

Is Moralis still compatible with OpenMint? I could not find the option