Phases

  1. Setup different phases in config.json file. Adding on to what was explained in Initializing CLI, the number of additional phases can also be re-configured directly on the config.json file.

Below is an example of a mint with 3 additional phases:

    "additional_phases": 3,
    "presales_phases": [
      {
        "start_time": "2024-11-04T07:15:00Z",
        "end_time": "2024-11-04T02:22:00Z",
        "mint_fee": 0,
        "name_phase": "Phase1"
      },
      {
        "start_time": "2024-11-01T02:22:00Z",
        "end_time": "2024-11-01T02:25:00Z",
        "mint_fee": 0,
        "name_phase": "Phase2"
      },
      {
        "start_time": "2024-11-01T02:26:00Z",
        "end_time": "2024-11-01T02:30:00Z",
        "mint_fee": 0,
        "name_phase": "Phase3"
      }
    ],
    "public_sales_start_time": "2024-11-01T02:31:00Z",
    "public_sales_end_time": "2024-11-01T08:35:00Z",
    "public_sales_mint_fee": 100000000,
    "public_max_mint": 0,

Should any changes be made to this config.json file, do make sure that the rules that are relevant to each field (eg. time in UTC format) still be adhered to.

Note:

  • All time is in UTC 00:00

  • All minting fees are in APT, to represent 1 APT = 100000000 In the above example 0.2 APT = 20000000

  • Should there be a need to change the number of phases, the additional_phases field would need to be changed, along with the dataset for the phases.

  • Timing rules to adhere:

    • start_time > current time

    • [any phase]_end_time > start_time

    • public_sales_start_time > [any phase]_end_time

    • public_sales_end_time > public_sales_start_time

  1. To update the phases timing, key in command:

odyssey update-phases

End of page


Last updated