web3-ui icon indicating copy to clipboard operation
web3-ui copied to clipboard

Fix AlchemyGlobalContext Default Value Initialization

Open Hopium21 opened this issue 8 months ago • 2 comments

Changed: alchemyProvider: new Alchemy() → alchemyProvider: new Alchemy({ apiKey: '', network: Network.ETH_MAINNET }) Reason: The new Alchemy() constructor requires an apiKey and network for proper initialization. Without these values, it may cause runtime errors. This change ensures that the default context value is correctly instantiated with valid settings.

Hopium21 avatar Mar 04 '25 18:03 Hopium21