Mainnet Deployment
Last updated
Last updated
NOTE: Ensure you meet the before deploying a dApp.
Deploy your dApp by following the steps:
.
.
.
.
.
.
You can:
with your dApp.
Or .
Open . 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.
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:
On the Solidity compiler tab, click Compile FILENAME.sol.
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.
Paste the dApp address into the searchbar and click Enter on your keyboard. The page with the dApp details will open.
On the dApp details page, go to the Contract tab.
Click Read/Write contract. The Contract information block will display the dApp's methods.
In the Contract information block:
Click the arrow icon next to the method you want to invoke. The method's fields will be displayed.
Click the button with the relevant call type:
Read.
Or Write.
In the MetaMask wallet, click Confirm. The Unit Zero Mainnet Explorer interface will return the result of the invoked method.
Open . The File explorer tab will open.
In , go to the Solidity compiler tab.
In , go to the Deploy & run transactions tab.
NOTE: This step is mandatory to .
NOTE: Ensure copying the dApp address after its .
Go to the .
In the method's fields, enter the value in the relevant .