Cere Network
How to add DDC Node to the Smart Contract
This section is supposed to be used to describe the process on how to add a new node to the DDC Smart Contract


  • You should be a Smart Contract Admin.
  • You should have enough CERE tokens to pay fees.


  1. 1.
    Open Block Viewer: Developer -> Contracts
  2. 2.
    Find method: addDdcNode
  3. 3.
    Click on exec
  4. 4.
    Specify parameters:
    1. 1.
      p2p_id found in the logs of the DDN.
    2. 2.
      p2p_addr similar to p2p_id but also includes an IP address.
    3. 3.
      url where the HTTP API of the node is reachable.
    4. 4.
      permissions 1 for trusted nodes (e.g., run by Cere), 0 for untrusted nodes.
5. Click Execute then sign the tx and you should be able to see the newly added node in the getAllDdcNodes function:
Congrats! You have just added a new DDC Node to the contract.
Copy link