Open SorooshDeveloper opened 5 months ago
@SorooshDeveloper The code in this PR doesn't run. Look at the issue description, and push once the specified changes are made and the UI runs properly
@Aharonla
hello, ive tested the code its working ok for me what is the error you are getting ?
also this is what your .env.develmpent should look like :
VITE_INFURA_API_KEY=https://sepolia.infura.io/v3/API_KEY
@SorooshDeveloper Rename VITE_INFURA_API_KEY
to VITE_INFURA_RPC_URL
.
VITE_INFURA_API_KEY
is confusing because it indicates input of the API key instead of the URL.
Add two files to the filesystem - .env.development.example
and .env.production.example
as instructed in the issue, and add in the documentation instructions to edit those (remove postfix so that the file names are .env.development
and .env.production
, and add the API key to the example URL - https://sepolia.infura.io/v3/MY_KEY
and https://mainnet.infura.io/v3/MY_KEY
instead of MY_KEY
).
@Aharonla updated please check
updated env values and removed extra variables