const DEBUG = false;
app.jsx
and remove any extra code you are not using. Scaffold-eth comes with many examples on how to subscribe to blocks, fetch gas prices, eth prices, etc. which you might not use but are still making rpc calls to your node.app.jsx
and change the targetNetwork
accordingly.app.jsx
.constants.js
file and swap the services' API keys with yours. You need to create an account on Infura, Etherscan and Blocknative if you want to use their services.build
folder in /packages/react-app
. Sites
tabbuild
folder into the browser. You should see something like this after it's finished uploading:Deploy Path
you should enter the folder where your build was generated, which by default should be /packages/react-app/build
build
folder it is going to generate buy adding the path to "Publish Directory".CI=false
to "Build Command" to prevent the build from failing because of build warnings.