Find answers instantly with AI search. Start typing your prompt below and let AI do the digging for you!

Configure Saga CLI

Configure sagacli for Saga Mainnet

The sagacli executable communicates with our Pegasus 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.sagarpc.io
sagacli config controller https://controller.sagarpc.io
sagacli config platform-chain-id spc-1
sagacli config denom upsaga
sagacli config broadcast-mode sync
sagacli config faucet https://spc-faucet.sagarpc.io

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                   

Configure sagacli for Saga Testnet

The sagacli executable communicates with our Pegasus 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.testnet.sagarpc.io
sagacli config controller https://controller.testnet.sagarpc.io
sagacli config platform-chain-id spc-testnet-2
sagacli config denom upsaga
sagacli config broadcast-mode sync
sagacli config faucet https://spc-faucet.testnet.sagarpc.io

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                   

Next Steps

To launch your very first chainlet, there are a few easy steps you will need to go through. Broadly:

You can access the help for any of the commands by running sagacli [command?] [subcommand?] --help.

Last updated