This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Description
We should expand this page of the docs web3config
- add code samples and explanation of each parameter that can be changed.
- parameter are listed here
Example:
- Explain what handleRevert is, how it works, why is useful
- Code sample to set handleRevert at global leve
new Web3({
provider: 'https://mainnet.infura.io/v3/YOURID',
config: {
handleRevert: true,
},
});
- Code sample to set handleRevert at package level
const context = new Web3Context('http://127.0.0.1:7545');
context.setConfig({ handleRevert: true });
- Explain what defaultAccount is, how it works, why is useful
- Code sample to set
defaultAccount at global level
- Code sample to set
defaultAccount at package level...