ScopeLift / zeneth

🏵️ Let Your ETH Chill — Gasless Ethereum account abstraction with Flashbots
https://zeneth.app
MIT License
129 stars 34 forks source link

Fee Estimation #17

Closed apbendi closed 3 years ago

apbendi commented 3 years ago

How to figure out gas that will be used by the transactions

Gas usage heuristic— how to figure out the gas price

User Experience

Note: look into other solutions

apbendi commented 3 years ago

Approach for MVP:

1) Use Dune Analytics to calculate reasonable upper bound values for transfer, approve, and swap per #21 2) Include values in token list as custom fields calculated above 3) In the frontend, calculate the fee to be charged in the base token by:

apbendi commented 3 years ago

Closed with #37