cp .env.example .env
- Setup
PRIVATE_KEY
variable yarn && yarn develop
estimateTxWithStrictFee(provider, txRequest, ethers.parseEther('1'))
- use 1 ISLM for fee
estimateTxWithMinimumFee(provider, txRequest)
- minimum valid fee
estimateTxWithLegacyNormalFee(provider, txRequest)
- normal fee with legacy gasPrice param
estimateTxWithNormalFee(provider, txRequest)
- normal fee
estimateTxWithHightFee(provider, txRequest)
- x2 fee