In Ethereum, we have multiple ways to deploy a smart contract without spending real ether. In this section, we will present how to set up and deploy your contract in the following testing environments:
- Ganache and Remix
- Testnet
- Private network
In Ethereum, we have multiple ways to deploy a smart contract without spending real ether. In this section, we will present how to set up and deploy your contract in the following testing environments:
If you're looking for a testing blockchain with a graphical interface, Ganache (previously TestRpc) is for you. It's an in-memory blockchain (think of it as a blockchain simulator) that runs locally.
Download and install it from the official Ganache repository (https://github.com/trufflesuite/ganache/releases) for the appropriate version for your OS.
When you run Ganache, you will get a graphical...