đĨī¸Use CLI Tools
Lighthouse CLI tool to interact with the protocol
Last updated
Lighthouse CLI tool to interact with the protocol
Last updated
Installation
Install the npm package globally on your system
in case you had our old package installed, you will need to uninstall that before installing the above package.
To uninstall the old package, run the following command:
Commands
Run the following command in your CLI to see every function
The following commands are available with the Lighthouse CLI tool
wallet
- Returns wallet public address and connected network
create-wallet
- Creates a new wallet
import-wallet
- Imports an existing wallet
wallet-forget
- Remove previously saved wallet
reset-password
- Change your password
balance
- Get the current balance of your wallet and data usage
upload
- Upload a file
upload-encrypted
- Upload a file with encryption
decrypt-file
- Decrypt and download the file
share-file
- Share direct access to the file
revoke-access
- Revoke direct access to the file
deal-status
- Get storage Filecoin deal status
get-uploads
- Get details of files uploaded
api-key
- Get a new API key
CLI Commands