Quickstart Guide
Last updated
Last updated
IMPORTANT: Cassiopeia is for testing purposes only. It's our first private testnet. Future testnets will be coming in the summer on the way to mainnet in late 2023. As such, this should be used for testing ONLY, not production deployments.
Ensure you've installed and are running the latest SagaCLI version.
Latest version and download links for each supported platform can be found .
Once you have the URL for your specific platform, you can download the file and extract it into a directory in your path:
Execute the following commands provided below to configure the sagacli
to communicate with the Saga Platform Chain:
Once this is done, you can review your configuration by running sagacli config
:
After completing Steps 1 & 2 run the following command to verify the sagacli
is communicating with the Saga Platform Chain:
You should see the following output:
Next you'll setup your Key/Address.
For example, if you want to generate a new key and call it mykey1 you would issue the command:
The Token Request Form is located in the left navigation menu inside the Saga Portal. After you provide your wallet address we'll then airdrop the tokens and message you when they're ready.
Once we message you to let you know the Token Airdrop is complete, you can verify using the sagacli
by issuing the command:
You should see 350 tsaga in your account.
Here's an example command that launches a chainlet called myprojectname
:
Now let's break down this command:
sagacli chainlet launch
The base command to launch chainlet
sagaevm
The chainlet type to launch. You can see the full list of chainlet types by running sagacli chainlet list-types
1.0
The chainlet stack version to launch. Run the command: sagacli chainlet list-types
and you'll see that 1.0
is the "Version"
myprojectname
The name of your project, ie. if your project name is "Cool Web3 Game" then name it coolweb3game
--genesis-account 0xFd54E1809f031727AD392445351ca2e02cA15c2A:100000000
The genesis-account
flag is composed of your EVM address, along with the number of full tokens you want in your account, separated by a colon. The address can be copied directly from Metamask
--denom mpn
The currency symbol you'll create. mpn
is just used for this example.
Then press Enter and your Chainlet will launch.
To obtain your URL's you'll first need your ChainID.
To get your ChainID, simply issue the command:
You will see similar output. You'll want to take note of your ChainID. In this example, my ChainID is coolapp_1682719845971475-1
Next you'll run the following command. Make sure to replace <ChainID> with your actual ChainID
Example:
Navigate to Metamask -> Settings -> Networks -> Add Network
The settings screen will look something like this:
From here, click on "Add a network manually" and type in the following settings in the required fields:
Network Name: This will be your Chainlet name (in this example I'm using "coolapp")
New RPC URL: This will be your chainlet's jsonrpc endpoint from the sagacli chainlet apis
command we executed in Step 8
Chain ID: Here you need to input the middle numerical part of the ChainID. First, issue the command sagacli chainlet list
Second, use the middle numerical part of the ChainID (make sure to drop the '-1') Example below
Currency Symbol: This is your Chainlet currency symbol. You can get that by calling the sagacli chainlet get <ChainID>
Block Explorer URL
Taken together, the output will look similar with what you see in the following image below:
Once this final step is complete, you're ready to deploy any EVM-based smart contract. You can deploy with tools such as Remix, Truffle, even Thirdweb.
Next you'll request your Token Airdrop using the Token Request Form from within the Saga Portal. If you're not already logged in, head over to
There are several different options for launching a Chainlet. Details can be found .