0

Is it technically possible to call wasm contract from evm contract inside substrate chain that include pallet-contracts and pallet-evm?

2 Answers 2

3

It is be possible through Astar Network xvm_pallet, interaction between WASAM and EVM Contract. You can go through this article and there is also video for this.

1

It's definitely technically possible.

  1. It's possible to extend pallet-contracts with so-called chain extensions. One could write such an extension that allows calling pallet-evm.
  2. The typical way of extending EVM is via adding new "precompiles". pallet-evm allows adding new precompiles by modifying the precompiles configuration.

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.