Apex CLI

Instructions on how to use Apex's CLI tool

The Apex CLI is a miner's interface with the subnet: linking wallets, submitting competition solutions, and viewing the dashboard. The dashboard contains all miner submissions to past and current competitions - use it to view others' code submissions and logs to compare your individual performance against the subnet.

To use the CLI you must have a registered wallet on subnet 1.

Link your registered wallet with the cli - required for most cli commands:

apex link

This will prompt you to

View Competitions

To view the currently active compeititon:

apex competitions

To view competitions and their status in detail:

apex dashboard

Example Output:

View Submissions

To view a submission, first open the dashboard apex dashboard and hit enter/return when hovering the competition of interest.

Your own submissions will be viewable immediately, other's submissions will be viewable after a delay.

Submit a Solution

apex submit <Path_To_Solution> -c <Competition_ID> -r <Round_ID>

View the <Competition_ID> and <Round_ID> via the dashboard

Last updated