2

I need to process Ethereum transactions in a substrate offchain worker. I already include EVM and Ethereum pallets, but I also need to do some communications with runtime code running as solidity smart contracts from the off-chain worker.

Are there any libraries to parse / generate ethereum transactions, or data that I can use? Or should I build everything from scratch?

1 Answer 1

4

You can use some of the tools from: https://github.com/rust-ethereum/.

Namely, if you're looking to create Ethereum transactions in an offchain worker then this should work:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.