Skip to content

Commit d470e13

Browse files
authored
Update DAPP.MD
fix the typo of website pages add a note about re-selecting contract after re-compile in remix
1 parent b86d350 commit d470e13

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

DAPP.MD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Note that the target EVM version is set to "Petersburg".
1818

1919

2020
### Step 3: Get the ABI of the code
21-
Switch to MyToken contract and the save ABI json file. This file will be used to access the contract.
22-
An example ABI of the code can be found [here](https://gist.github.com/qizhou/7a7753df36f50cb1f05e05ed18a59af7#file-mytoken_abi-json)
21+
Switch to MyToken contract and save the ABI json file. This file will be used to access the contract.
22+
An example ABI of the code can be found [here](https://gist.github.com/qizhou/7a7753df36f50cb1f05e05ed18a59af7#file-mytoken_abi-json). Note that you need to switch to MyToken contract again to get the ABI file if the code is re-compiled.
2323
![Compile the code](resources/dapp/step3.png)
2424

2525
### Step 4: Deploy the code with totalSupply as constructor parameter
@@ -32,7 +32,7 @@ An example binary of the code can be found [here](https://gist.github.com/qizhou
3232
![Get the code binary](resources/dapp/step5.png)
3333

3434
### Step 6: Deploy the code on QuarkChain mainnet
35-
Now, we are ready to deploy and run the code on QuarkChain mainnet. First, we open the contract page on [QuarkChain explorer](http://http://mainnet.quarkchain.io/contract).
35+
Now, we are ready to deploy and run the code on QuarkChain mainnet. First, open the contract page on [QuarkChain explorer](https://mainnet.quarkchain.io/contract).
3636
Switch to "Deploy" tab and paste the binary code in "Byte Code", and then sign and submit the deployment transaction.
3737
Note that the contract will be deployed on the chain of sender (e.g., chain 0 in the example). If you wish to deploy on different chain, simply switch to the chain id in Account tab.
3838
![Deploy the code binary to QKC mainnet](resources/dapp/step6.png)
@@ -45,7 +45,7 @@ From the figure, we could determine
4545
![Deployment status](resources/dapp/step7.png)
4646

4747
### Step 8: Access the contract
48-
Now we are able to read/write the contract in the "Interact" tab in [QuarkChain explorer](http://mainnet.quarkchain.io/contract).
48+
Now we are able to read/write the contract in the "Interact" tab in [QuarkChain explorer](https://mainnet.quarkchain.io/contract).
4949

5050
The tab will accept two parameters:
5151
1. The contract address after the successful deployment

0 commit comments

Comments
 (0)