I just wonder if there is any way to deploy my ink! contract to ethereum network. As far as I know, ink! contract compiles to WASM bytecode, not EVM, so it's not possible, right? Or maybe there are some WASM-EVM converter-tools..?
-
The only thing that I'm aware of is actually a Solidity to ink! transpiler which is currently under development: github.com/Supercolony-net/sol2ink. The Solang compiler already allows you to compile Solidity code to WASM. But AFAIK there is nothing in the other direction, neither Solidity->ink!, nor WASM->EVM.– AchimCommented Oct 6, 2022 at 9:38
Add a comment
|
1 Answer
I think it's not possible to compile ink smart contract to evm bytecode. As per ink doc here, ink contract can compile in ANY WASM VM and If anyhow if we try to compile then, I think we may face some issue, which are point out in this article.