Hello there! Appreciate the help on this forum
Whatâs the purpose of the data folder in the boilerplate? I understand itâs like a local blockchain data for blocks? Whenâs that used and how?
Hi @rost
Itâs a folder for temporary files of the truffle. You donât need to use/interact with them.
Can they be deleted, then? And how are they related to Truffle? Are they created when deploying a contract? And if so, why are they not, say, Truffle/Data?
It creates automatically. You can delete it, but after you run local chain yarn devchain
itâll be created again
itâs a question for the Truffle team
Does the Dex work with the 1inch plugin on the Ropsten Network?
No, it supports only mainnets. 1inch itself doesnât work on tesnets
Thank you sir. I was able to create my logo as an SVG and upload to the boilerplate. Seriously⌠you guys blow me away. Truly an amazing group of developers and human beings allowing us to utilize your brilliance. Looking forward to learning more from Moralis!
Hey fellas⌠I am making it to this stage as well⌠running on my local host and everything is fine. Opening VSC terminal to the public folder in the boilerplate and running npx moralis-admin-cli deploy and it opens up a blank screen https://wtr3qy8dtt8m.usemoralis.com/. Should I be running the cli deploy from a different folder? Thank you all!
Hey @Yomoo,
one question concerning the boilerplate code. Based on that I did my own version and deployed that to moralis server. When I first open the link it works I get thisâŚâŚ
But when I click on reload I get this.
What did I wrong? Can you help me please?
Server URL is: https://pabqesk4xtqx.usemoralis.com:2053/server
Best regards
Henning
Yes. Locally everything works fine. I searched a little bit by myself and found some stuff concering hashHistory but I am not sure what to do with that.
Okay got it!! Thank you my friend!
Hello, I am currently working on a Next.js Ethereum boilerplate
[ported from ethereum-boilerplate/ethereum-boilerplate
]
I however keep getting this error. I believe it is related to Ant design antd
package, but I am having a hard time trying to fix it. I would also appreciate feedback on the currently deployed version.
Github Repo: https://github.com/davidparseen/ethereum-nextjs-boilerplate
Github Page: https://davidparseen.github.io/ethereum-nextjs-boilerplate/ (edited)
Error:
Warning: useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect
should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.
[17:01]
at Overflow (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\rc-overflow\lib\Overflow.js:42:32)
at InheritableContextProvider (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\rc-menu\lib\context\MenuContext.js:40:23)
at Menu (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\rc-menu\lib\Menu.js:78:32)
at InternalMenu (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\antd\lib\menu\index.js:73:37)
at Menu (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\antd\lib\menu\index.js:166:37)
at MenuItems (webpack-internal:///./src/components/MenuItems.jsx:21:81)
at header
at Basic (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\antd\lib\layout\layout.js:78:25)
at Header (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\antd\lib\layout\layout.js:61:37)
at section
at BasicLayout (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\antd\lib\layout\layout.js:93:34)
at Layout (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\antd\lib\layout\layout.js:61:37)
at BaseLayout (webpack-internal:///./src/components/BaseLayout.jsx:64:23)
at MoralisProvider (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\react-moralis\lib\index.cjs.js:4159:23)
at Application (webpack-internal:///./src/pages/_app.jsx:25:24)
at InnerApp
at StyleRegistry (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\styled-jsx\dist\stylesheet-registry.js:231:34)
at AppContainer (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\next\dist\server\render.js:339:29)
at AppContainerWithIsomorphicFiberStructure (C:\Users\Parseen\ethereum-nextjs-boilerplate\node_modules\next\dist\server\render.js:369:57)
Happens when I visit the /quickstart
route, after running yarn dev
.
I have tried some fixes from https://stackoverflow.com/questions/58070996/how-to-fix-the-warning-uselayouteffect-does-nothing-on-the-server.
but I havenât been able to use one successfully.
If I build something could I deploy it to a network not listed as supported? Iâm interested in Flare Network which is Eth EVM compatible and forked Avalanche consensus.
You could add any Network. But you wont have moralis functionalities if the network is not supported from morlalis, such as showing all NFTs, ERC20 Balances/Transfers and so on