Comments (7)
It might have to do with the recent breaking changes in Moralis, but I would first check to make sure the table names in your Moralis db match with the cloud functions.
from openmint.
@Ty-Sir
Thanks for your response
The issue is that , we have already put the cloud function code into Moralis. So that when we run the program, it will automatically create tables into database. but when we run the program and try to create or Mint an NFT , this is not working. and thats why the database table are not created yet.
please guide me from where I could get the new syntax of Moralis or changes happened in Moralis
One more thing from where I could find the Moralis SDK version.?
Thanks in advance
from openmint.
Most answers can be found here, https://docs.moralis.io/introduction/readme
And if not, here is a forum that is active for any Moralis questions, https://forum.moralis.io/
It could be a multitude of reasons why it is not working. I have not kept this repo up to date with the current Moralis syntax since I am building a new version using react-moralis very soon.
from openmint.
@Ty-Sir how is progress in the new React frontend?
from openmint.
I'm currently finishing up a separate project, so probably another week until I can begin
from openmint.
Hello so I also have this minting problem on Upload and Mint button. Than It says Error Minting Token in pop-up than I checked on console. I got
TypeError: Cannot read properties of undefined (reading 'methods')
at mint (erc-721.js:380)
at uploadMetaDataToIPFS (erc-721.js:366)
I tried changing
queryResults[i].attributes. to queryResults[i].get('')
definetly not worked. So fellow developers please dont do that .attributes works as it is in April 2022.
I am also suspecting a DB Naming issue.
I named DBs under Sync and Watch Contract Events these 4 different abis myself. Should they be connected to cloudFunction.js or mentioned in erc-721 ? Or maybe a config file?
from openmint.
Hello so I also have this minting problem on Upload and Mint button. Than It says Error Minting Token in pop-up than I checked on console. I got TypeError: Cannot read properties of undefined (reading 'methods') at mint (erc-721.js:380) at uploadMetaDataToIPFS (erc-721.js:366) I tried changing queryResults[i].attributes. to queryResults[i].get('') definetly not worked. So fellow developers please dont do that .attributes works as it is in April 2022.
I am also suspecting a DB Naming issue. I named DBs under Sync and Watch Contract Events these 4 different abis myself. Should they be connected to cloudFunction.js or mentioned in erc-721 ? Or maybe a config file?
I understand the problem, debugged it but havent fixed yet. Your Code is According to Web3.js, Moralis however moved to Ether.js Library. So Web3.eth is undefined in console.log()
// Get a (ethers.js) web3Provider
web3Provider = await Moralis.enableWeb3();
You need to update your Readme According to Web3.js or Ethers.js for other developers if they want to use it according to Web3.js or Ether.js.
Here is the link according to this issue from Moralis:
https://www.youtube.com/watch?v=n1IXEp9q9AE
from openmint.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmint.