grassrootseconomics / eth-custodial

(WIP) EOA key management and EVM signing API service
GNU Affero General Public License v3.0
0 stars 0 forks source link

Dispatcher design and best effort broadcasting #4

Open kamikazechaser opened 2 months ago

kamikazechaser commented 2 months ago

To prevent any rollback in the signing process, any dispatching right after signing in the worker should be best effort without any error returned. A secondary retrier/watch-dog should pick up potentially bad broadcasted raw transactions and fix them by either:

kamikazechaser commented 2 months ago

OTX should store nonce, gas and data to support res-signing. Ideally we never touch a nonce.