- Copy the code from laxmicoin-ICO.sol and paste it on Remix
- Choose the version of compiler, version:0.4.11+commit.68ef5810.Emscripten.clang
- Now open Ganache. And Minimize it. Let it be running in background.
- Now go to MyEtherWallet, open it by launching index.html.
- Now create a new custom wallet by clicking on add new custom network/node from the drop down menu, Network ETH (MyEtherWallet). A dialog box will appear.
- Now come back to Ganache and copy the RPC Server.
- Now come back to MyEtherWallet give a suitable name to the node and paste the RPC Server in the URL(Just dont put the Port in the URL, It needs to be put seperately so omit it out). And then put the port in the port section. And click on Create wallet.
- Now click on Contracts and then click on Deploy Contract.
- Go to remix and copy the byte code and paste it in MyEtherWallet, just make sure you remove everything that starts before and after the qoutes including the qoutes too. Only the numbers are supposed to be there.
- Now from 'How would you like to access your wallet?' Select Private Key.
- Go to Ganache and select any of the address you want to use, Click on the key icon and copy the private key and paste it in the MyEtherWallet and click on the Unlock button.
- Now click on Sign Transaction and then click on Deploy Contract
- Now go to Ganache, click on Transactions, Click on the transaction that was made and copy the created contract address.
- Now go to MyEtherWallet, Click on Interact with Contract and paste the created contract address.
- Now go to remix and copy the ABI and paste it in ABI / JSON Interface. Click Access.