Skip to content

Latest commit

 

History

History
48 lines (26 loc) · 1.42 KB

EwasmTestNetDeprecated.md

File metadata and controls

48 lines (26 loc) · 1.42 KB

Deploy an ERC20 smart contract to Ewasm TestNet

Warning: This tutorial is deprecated because Ewasm TestNet is unavailable now

Step 1: Convert Wasm files to Hex Code files.

To deploy our smart contract to TestNet, we need to convert the WASM files to Hex Code files.

(docker) $ xxd -p contract.wasm | tr -d $'\n'

Step 2: Submit the Hex Code files to Ewasm TestNet.

Copy the Hex Code generated by the previous step.

Find ToolsSubmitTx

Paste the Hex Code to the Ewasm TestNet website and submit it.

Paste the Hex Code and submit it

Submit the Hex Code to Ewasm TestNet.

Submiting the Hex Code

Step 3: Check activities of TestNet to make sure our contracts executed successfully.

Check whether the latest activity is our contract or not.

Check the latest activity Check the latest transaction

Check the Bytecode of the latest activity.

Check the bytecode

Check the Ewasm code of the latest activity.

Check the Ewasm code

Check the Storage part of the latest activity.

Check the Storage

Congratulations! Now you finished our user tutorial.