Introduction

This guide provides instructions on how to create a Referenda Proposal by submitting a preimage with a *.wasm file and integrate it into a proposal.

Objective

The successful execution of this procedure will result in:

  1. The submission of a preimage containing a *.wasm file.
  2. The creation and submission of a proposal using the preimage from Step 1.
  3. The successful application of the proposal to a network.
  4. The unreservation of CERE tokens from the preimage.

Steps

  1. Ensure the account from which you're submitting the preimage holds approximately 25K CERE tokens (Note: ~10K CERE tokens are needed per 1MB of *.wasm file).

  2. Connect to the Cere Blockchain using the Cere Explorer.

  3. Navigate to the "Governance" section, then proceed to "Democracy".

  4. Click on "Submit preimage".

  5. Activate the "file upload" option in the "code" field and select your *.wasm file.

  6. Make a note of the preimage hash value from the corresponding field.

    Untitled

  7. Confirm the preimage submission by pressing "Submit preimage".

  8. Proceed to submit a proposal by clicking on "Submit proposal". Refer to this transaction example if needed.

  9. Insert the previously copied preimage hash value into the corresponding field.

    Untitled

  10. Confirm the proposal submission by pressing "Submit proposal" once more.

  11. Wait for your proposal to transition to the referenda stage and be applied to the network.