Configure Saga CLI
The
sagacli
executable communicates with our Cassiopeia server applications securely over HTTPS
. Before you can start using sagacli
, you must configure it talk to the Saga Platform Chain as well as the Saga Controller.Execute the following commands provided below to configure
sagacli
:sagacli config network-rpc https://spc.sp1.sagarpc.io
sagacli config controller https://controller.sp1.sagarpc.io
sagacli config platform-chain-id cassiospc-1
Ok, now that we have configured the endpoints, it's time to check if they actually work. To do that, run the following command:
sagacli status
You should see the following output:
Saga Platform Chain Controller
------------------- ----------
Online Online
IMPORTANT: If either of the two applications indicate a value of
false
, the configuration was not successful. Check your local network connection to ensure that you are connected to the internet, and that your firewall application isn't blocking outgoing traffic over HTTPS
.To launch your very first chainlet, there are a few easy steps you will need to go through. Broadly:
- Your
sagacli
account will receive airdropped tokens. If you do not have tokens, please request them via the Getting Access page
You can access the help for any of the commands by running
sagacli [command?] [subcommand?] --help
.