Translations can be found here:
Smart contracts are coming to CENNZnet! Our newest module means that as well as utilising our prebuilt core runtime modules, developers can build CENNZnet DApps with smart contracts.
Even better, our EVM smart contract module implements the EVM specification described in the Ethereum Yellowpaper. This means that CENNZnet can now read smart contracts written in Solidity, making it super easy to transfer DApps from Ethereum to CENNZnet. Alongside the Emery bridge, the EVM module smoothly integrates CENNZnet with the large community of Ethereum users making CENNZnet an EVM compatible blockchain.
EVM stands for Ethereum Virtual Machine. EVM is the mechanism developers are required to use to run smart contracts on the Ethereum blockchain. The EVM mechanism reads smart contracts written in Solidity or Vyper.
In order to adopt smart contracts on the CENNZnet blockchain, the CENNZnet team built our very own EVM mechanism within our blockchain runtime. This EVM runs within the CENNZnet blockchain protocol and is able to read Solidity smart contracts and execute them on CENNZnet. This gives CENNZnet developers access to smart contract functionality and also means that any code previously written for Ethereum can now run on the CENNZnet blockchain natively.
There are many ways to bring smart contract functionality to CENNZnet, so why did we choose an EVM mechanism?
There are a few clear reasons. Firstly it gives CENNZnet users battle-tested smart contracts. While there are some technically better smart contract mechanisms out there, none have the same level of security testing e.g. the $320 mill hack on Solana happened because it has its own smart contract system that hasn’t been through as much rigorous testing as the EVM. The nature of smart contracts means they hold a lot of sensitive information, so tight security is absolutely key.
EVM compatibility also has huge advantages for blockchain developers. It gives DApp builders familiar access to existing mature tooling such as wallets and libraries from Ethereum. These tools or even a whole smart contract/ DApp can be used as-is and deployed on CENNZnet using the EVM module. This easy DApp and tool migration is really useful for boosting CENNZnet’s user base and allows for exciting cross-blockchain DApps.
In list form CENNZnet’s EVM support has a few important implications:
The EVM module now gives DApp developers a choice of building methods. You can now implement your DApp using smart contracts through the EVM module or runtime modules. So which should you choose?
In short, it depends on what you are looking for.
The EVM smart contract module offers more flexibility. You can create your own custom logic to be deployed at any time. The EVM also allows you to use Solidity and tooling from Ethereum that you may be more familiar with. You can also call CENNZnet modules from your Smart Contracts, so you can combine the power of CENNZnet modules with existing Ethereum DApps.
To get building your smart contracts on CENNZnet follow our smart contract guide here.