Skip to content

Latest commit

 

History

History
43 lines (16 loc) · 1.17 KB

File metadata and controls

43 lines (16 loc) · 1.17 KB

Deploy contract using Remix

This article shows how to deploy smart contract into smartBCH testnet using Remix IDE.

Step 0, add smartBCH testnet into MetaMask. You can find smartBCH testnet configuration on chainlist:

chainlist

Step 1, open Remix IDE in your browser:

remix

Step 2, chose an environment. We can use MetaMask by selecting "Injected Web3" or connect to node directly by selecting "Web3 Provider". Select "Injected Web3" to connect to MetaMask:

remix-metamask-connect.png

Step 3, create and compile your smart contract. We use Remix's Storage demo as example:

remix-contract

Compile your smart contract:

image-20210414163154021

Step 4, deploy compiled smart contract by clicking "Deploy" button:

image-20210414163757696

Click "Confirm" button on MetaMask popup window:

remix-metamask-deploy2