Developing and Deploying Contracts​

Being an Ethereum-compatible blockchain, all of the usual Ethereum developer tools and environments can be used to develop and deploy dApps for E Money Network.

An example for developing EMC20 contracts on E Money Network Testnet can be found here .

Remix

There is a tutorial for using Remix to deploy smart contracts on E Money Network. It relies on MetaMask for access to the E Money Network.

Open Remix IDE in your browser https://remix.ethereum.org/

Select Metamask in Deployment environment options.

Connect the address you want to deploy the smart contract from to the Remix IDE.

Compile the smart contract using the relevant compiler version.

Once compiled, deploy and run your transactions by providing suitable constructor values in the Deploy parameters.

After deployment, use the call and state change functions to interact with the Emoney chain using the freshly deployed smart contract.

Truffle

You can also use Truffle to test and deploy smart contracts on Emoney. Find out how in this tutorial.

In the truffle config file, under the networks tab, add E-Money network configurations as below:

Hardhat

Hardhat is the newest development and testing environment for Solidity smart contracts and the one our developers use the most. Due to its superb testing support it is the recommended way of developing for E Money Network.

For more information see here.

Last updated