This commit is contained in:
marston 2023-12-30 15:27:15 -05:00
parent 4545f2136d
commit 7c93410fcc
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,26 @@
---
sidebar_position: 1
---
# Command Lind Interface (CLI)
The CLI is a tool for both users and developers to interact with the Jackal Protocol without a traditional GUI.
## Download and Install
Head to the [Releases](https://github.com/JackalLabs/canine-chain/releases) page and download the binary for your system.
## Setting up an Account
You can create a new account like this:
```sh
canined keys add {account name}
```
Or you can recover an account with a seed phrase like this:
```sh
canined keys add {account name} --recover
```
## Buying Storage
Buying 1TB for a single month:
```sh
canined tx storage buy-storage $(canined keys show {account name} -a) 720h 1099511627776 ujkl --from {account name} --gas-prices=0.02ujkl
```
In this case, `720h` is 720 hours, or one month, you can specify the hours you wish to buy storage for here. `1099511627776` is how many bytes you wish to purchase, this value is 1TiB, you can increase this or decrease this as you please.

View File

@ -0,0 +1,4 @@
{
"label": "CLI",
"position": 2
}