Install the CLI
The SXTCLI is a great tool for developers to get started with Space and Time. It provides you a quick, programmatic way to interact with the Space and Time network and perform more complex actions, without being dependent on any particular programming language or IDE.
Let's Get Started!
To be able to validate your script, we'd ask that you generate a new file called <span style={{ color: "blue" }}>Install_the_CLI.sh that you can commit to your branch of the SXT-Community/SXTAccreditation repo at the end of the activity.
Install Java JDK
Install and Configure SXTCLI
Add New Keypair with SXTCLI
Assuming you're following along on the accreditation track, you've probably created your UserID through the Space and Time Studio application, but do not yet have an ED25519 public/private keypair. Adhering to security best practices, private keys are always generated locally (on your computer) so only the public key needs to be transmitted. Here, Studio cannot help.
This is where SXTCLI comes in handy - the CLI can not only generate new keypairs, but can register new keypairs with the Space and Time network such that the private key is never transmitted (challenge / response model).
Login with SXTCLI
Run a Query with SXTCLI
Get Credit:
You'll get credit for this activity if you:
- Login with the CLI
- Run the Query against
ZKSYNCERA.BLOCKSexactly as shown above - Commit your work file to the SXT-Community/SXTAccreditation repo
{/ looking for having run the exact SQL above /}
Updated 5 months ago