Testnet Deployment
Last updated
Last updated
NOTE: Ensure you meet the prerequisites before deploying a dApp.
Deploy your dApp by following the steps:
Follow the steps to connect your Metamask wallet.
You can:
Import your GitHub repository with your dApp.
Open Remix IDE. The File explorer tab will open.
Go to the Git tab.
On the Git tab, expand the GITHUB SETUP block.
In the GITHUB SETUP block:
Click Login with GitHub. The instructions on how to connect your GitHub account will appear.
Follow the given instructions.
On the Git tab, expand the CLONE block.
In the CLONE block:
Click Load from GitHub. The field with your GitHub account's repositories will open.
From the field with your account's repositories, select the relevant repository.
From the field with the repository's branches, select the relevant branch.
Click clone USERNAME_REPOSITORY:BRANCH. The dApp script will be available on the File explorer tab.
Open Remix IDE. The File explorer tab will open.
On the File explorer tab, click Create new file. The field to enter the filename will open.
In the field, enter the filename. The FILENAME.sol window will open.
Copy and paste the script to the FILENAME.sol window:
In Remix IDE, go to the Solidity compiler tab.
On the Solidity compiler tab, click Compile FILENAME.sol.
In Remix IDE, go to the Deploy & run transactions tab.
On the Deploy & run transactions tab:
From the Environment drop-down list, select the Injected Provider - MetaMask. The MetaMask extension will open.
In the MetaMask extension, click Connect.
On the Deploy & run transactions tab, click Deploy. The MetaMask extension will open.
In the MetaMask extension, click Confirm. The Deployed Contracts block will display the address of the deployed dApp.
Optional. In the Deployed Contracts block, click Copy Address.