Skip to content

CLI application to set up a Codex node and interact with the test network

Notifications You must be signed in to change notification settings

codex-storage/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codex Storage CLI

CodexCLI

This CLI is the easiest way to get started with Codex. Get your node up and running in a matter of seconds and start interacting with the Codex Testnet by uploading and downloading files from the other peers in the network.

⚠️ Note : Codex is currently in testnet and there is no guarentee for files stored on the Codex test network. All the files uploaded to Codex are not encrypted by default and hence, the files are publicly accessible. By using this application, you agree to acknowledge the disclaimer.

How it works?

Run the Codex Storage CLI in your terminal

npx codexstorage

Downloading and running the Codex node

A CLI interface would appear with multiple options. Start by downloading the Codex binaries by using option 1.

Installing

Once you are done downloading the binaries, you can go ahead and try running the Codex node by choosing option 2. You will be asked to enter your listening (default : 8070) and discovery (default : 8090) ports during this step.

Running

Checking the node status

Now that your node is running, keep the terminal window open and start another instance of the Codex CLI by using the first command. We will be using this terminal to interact with the Codex node that is active.

You can checkout the node status to ensure that the node is discoverable and connected to the other peers in the Codex test network.

Status

If you face any issues (peer discovery, port forwarding etc.,), join our discord server and ask for help.

Uploading and downloading files from the testnet

To upload a new file into the testnet, select option 4 and enter the file's relative path. A unique CID will be displayed once the file is uploaded.

Upload

To download a file from the testnet, select option 5 and enter the file's CID.

Download

If you wish to view all the files that are stored in your local node, choose option 6 to display all the available CIDs.

What's next?

More features will be added soon!

About

CLI application to set up a Codex node and interact with the test network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published