Description
Smart contract addresses are hardcoded in the source code, making it impossible to deploy and test on different blockchain networks (local testnet, Goerli, Sepolia, mainnet) without modifying source code.
Suggested Fix
Use environment variables or a configuration file to specify contract addresses per network.
Description
Smart contract addresses are hardcoded in the source code, making it impossible to deploy and test on different blockchain networks (local testnet, Goerli, Sepolia, mainnet) without modifying source code.
Suggested Fix
Use environment variables or a configuration file to specify contract addresses per network.