commit
894ac02810
26
docs/using-jackal/cli/1_cli.md
Normal file
26
docs/using-jackal/cli/1_cli.md
Normal 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.
|
4
docs/using-jackal/cli/_category_.json
Normal file
4
docs/using-jackal/cli/_category_.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "CLI",
|
||||
"position": 2
|
||||
}
|
Loading…
Reference in New Issue
Block a user