metachris / flashbotsrpc

Golang client for Flashbots Relay, mev-geth and standard Ethereum JSON-RPC API endpoints
https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint/
MIT License
165 stars 55 forks source link

feat: generate the signature from the body and privKey #21

Open tiennampham23 opened 1 year ago

tiennampham23 commented 1 year ago

I use BloxRoute to subscribe to the new pending transactions from the mempool and submit the bundles into MEV. Bloxroute supports both itself and FlashBot MEV.

When I submit the bundles into the Bloxroute endpoint, I need to get the Flashbot signature from the Flashbot private key. So I want to split this function into the specific function and reuse it in my project.

Please take a look at my PR.

tiennampham23 commented 1 year ago

@metachris @bhakiyakalimuthu PTAL