From 7c93410fcc9110602f326a2ab76527a7b3bd9eee Mon Sep 17 00:00:00 2001 From: marston Date: Sat, 30 Dec 2023 15:27:15 -0500 Subject: [PATCH] cli page --- docs/using-jackal/cli/1_cli.md | 26 ++++++++++++++++++++++++++ docs/using-jackal/cli/_category_.json | 4 ++++ 2 files changed, 30 insertions(+) create mode 100644 docs/using-jackal/cli/1_cli.md create mode 100644 docs/using-jackal/cli/_category_.json diff --git a/docs/using-jackal/cli/1_cli.md b/docs/using-jackal/cli/1_cli.md new file mode 100644 index 0000000..6f0ab0f --- /dev/null +++ b/docs/using-jackal/cli/1_cli.md @@ -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. \ No newline at end of file diff --git a/docs/using-jackal/cli/_category_.json b/docs/using-jackal/cli/_category_.json new file mode 100644 index 0000000..0ca829d --- /dev/null +++ b/docs/using-jackal/cli/_category_.json @@ -0,0 +1,4 @@ +{ + "label": "CLI", + "position": 2 +}