AElfProject / aelf-block-explorer

It is a Block Explorer and Analytics Platform for AElf.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to deploy a contract?

potter-sun opened this issue · comments

Step 1: Find [Deploy Contract]

  1. Open the explorer and click Governance -> Proposal
  2. Click Login to connect your wallet. Note: Make sure you have sufficient ELF balance to pay the Txn fee.
  3. Click Apply -> Deploy/Update Contract -> Deploy Contract

Step 2: Deploy a Contract
This follows 3-step directions: Propose New Contract; Release Approved Contract; Release Code Checked Contract.

  1. Propose New Contract
    A transaction will be initiated and a parliament proposal will be created. You will proceed to the next step after the proposal is approved.
    The proposal ID and Transaction ID of this step will be shown on the pop-up window after the submission is completed, and you can click on them to view the details.

  2. Release Approved Contract
    A transaction will be initiated and a parliament proposal will be created. The proposal will be approved automatically and you will proceed to the next stage.
    *You need to enter or find the Proposal ID from the previous step (Propose New Contract).
    The Proposal ID and Transaction ID of this step will be shown on the pop-up window after the submission is completed, and you can click on them to view the details.

  3. Release Code Checked Contract
    A transaction will be initiated and the contract deployment will then be completed.
    *You need to enter or find the Proposal ID from the previous step (Release Approved New Contract).
    The Contract Address will be shown on the pop-up window after the submission is completed, and you can click on it to view the details.