[CLI] Enter the following command to initialize the Odyssey CLI:
odyssey init
Note: If you run into a permission denied error, please refer to FAQ
[CLI] Answer all the following questions which are prompted to complete Odyssey Initialisation step. These questions will be prompted one by one.
Note: If you make any mistakes in the process of inputting in data, you should press ‘Control + C’ to reset the entire step.
Note: The time inputted needs to be in the exact format as shown. The timezone is in UTC 00:00.
? Enter private key:
? Enter network (mainnet/testnet/random):
? Do you need to randomize traits: (Y/N)
? Is Reveal required for this collection: (Y/N)
? Enter Arweave keyfile (e.g tHW3GofkxahZd2eDXBIo_oDIchmPmqWB7yWI3xsRfd0.json): tHW3GofkxahZd2eDXBIo_oDIchmPmqWB7yWI3xsRfd0.json
? Enter collection name: BAYC
? Enter collection description: Bored Ape Yellow Club
? Enter collection cover image URL: https://arweave.net/<transaction id>
? Enter collection size: 1000
? Enter royalty numerator (if royalty is 5%, key 5 as numerator): 5
? Enter royalty denominator (if royalty is 5%, key 100 as denominator): 100
For the following question, input the number of additional phases required. The number of times you would have to input the Phase start/end times would then depend on your answer.
The Public mint start/end time would then be inputted at the very end.
? How many additional phases do you require? (0 min - 4 max):
[If the answer to the above question is 1, then the following should appear in the CLI:]
? Enter Phase 1 start time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 1 end time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 1 mint fee in APT (enter 0.1 if mint fee is 0.1 APT): 0.2
[If the answer to the above question is 4, then the following should appear in the CLI:]
? Enter Phase 1 start time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 1 end time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 1 mint fee in APT (enter 0.1 if mint fee is 0.1 APT): 0.2
? Enter Phase 2 start time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 2 end time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 2 mint fee in APT (enter 0.1 if mint fee is 0.1 APT): 0.2
? Enter Phase 3 start time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 3 end time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 3 mint fee in APT (enter 0.1 if mint fee is 0.1 APT): 0.2
? Enter Phase 4 start time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 4 end time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter Phase 4 mint fee in APT (enter 0.1 if mint fee is 0.1 APT): 0.2
? Enter public sales start time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter public sales end time (e.g 2024-03-21T04:00:00Z): 2024-03-21T04:00:00Z
? Enter public sales mint fee in APT (enter 0.1 if mint fee is 0.1 APT): 0.3
Should you wish to skip any steps (eg. collection cover image), simply press ‘Enter’ and move on to the following field.
Note: Every time you run odyssey init, the CLI is attempting to create a config.json file for you.
After initialization, the following config.json file will be created in the root folder. The following is an example of the config.json file with 3 additional mint phases:
Should you feel like making any edits (eg. change collection name, change presale start time etc.) you can edit it directly in this json file. Please make sure that while editing, you are adhering to the correct formats, else errors will be faced.
For “asset_dir”, ensure that path points to the assets folder created in your machine