I have restarted that server, can you check again. Yes I am a part of the Moralis team.
Thank you a lot, The error is resolved now! There is only one remaining Problem, I got this message and tried to initialize Moralis in the _app.js, _document.js, and Exchange.js where I use it.
should I use
const Moralis = require(“moralis-v1/node”);
or
const { Moralis } = useMoralis();
and in which component do I have to declare it, I think I already tried every possible solution.
Also nice work from your Team! I Like your product a lot!
const { Moralis } = useMoralis();
You can use this hook from react-moralis
- moralis-v1/node
usage is only if you need to run some Moralis code serverside with Next.js.
I’m not sure what Exchange.js, you should only need one MoralisProvider in your _app.js file for your whole app. Can you remove the other ones first.
Thank you, I adjusted the provider related code. Finally I figured out the remaining error has nothing to do with moralis, it’s related to the
token.symbol
which I can’t use while I am not connected to the plugin.
Hello again, I was able to install the 1inch Plugin, but getting this error
Is there still an possibility to use the Plugin if its installed on my server, or do I have to use the api by myself?
I’m not sure how you were able to install the plugin now, the option to do so has been removed. What is your Moralis serverUrl / dapp URL?
But it is recommended you use the 1inch API directly now and not use plugins - they will also not be updated if 1inch updates their API.