Solidity for blockchains other than ETH

Hello all,

Just a quick question.

As I understand it Solidity at present is limited to the Ethereum blockchain. Is that still the case? Are there any plans in place to extend it to other blockchains?

Thanks in advance for any and all help.



solc is not actually tied to any particular blockchain, it’s targetting the EVM, which has implementations also for some other blockchains. We only really test against the Ethereum’s EVM and other blockchains are not officially supported but the produced bytecode should run on other EVM implementations too.

There are also other compilers that specifically target other blockchains. For example solang targets Solana, Substrate and Hyperledger.

1 Like

Another good example of a blockchain that uses Solidity for its smart contracts is Polygon Network. It has tons of projects using smart contract written in Solidity: DApps « Polygon