How to deploy a solidity smart contract on a custom blockchain


I am trying to test if I can create a custom blockchain and deploy a ETH smart contract on it.

We can create a new blockchain with a custom VM using platform.createBlockchain call. The list of all available VMs is in the node.go.

I try to create blockchain using EVM because I am familiar with how it works. Gabriel has an introduction video on AVM works and there are lots of new concept that I will take time to learn. So just want to use EVM for my custom blockchain.

However, I cannot find any document that specifies how to deploy ETH smart contract on the newly created blockchain. The RPC calls under EVM folder have a bunch of functions to interact with the chain but none of them says how to deploy a contract.


The best place to discuss this matter is on discord => Dev channel