0.1.9-alpha • Published 2 years ago
@safient/cli v0.1.9-alpha
Safient CLI
CLI tool to run a Safien worker and interact with the safes on Safient protocol.
Getting Started
npm i @safient/cli -g
Running the Safien worker on a testnet
safient safien worker --network testnet
Enter worker info when running for the first time
Interacting with the Safient protocol
Create a new user:
safient user create --name Safient1 --email safient1@safient.io --network testnet
Create a new safe (Creator):
safient safe create --beneficiary did:key:z6MknvaZuK44SWdsK8m6t3mq7AWQ2Hj1zGhVTPywcPGS7qFf --data 'GM' --network testnet
Show a safe:
safient safe show 01fgbz287dvds1ft1e4tdbjqkp --network testnet
Claim a safe (Beneficiary):
safient safe claim 01fgbz287dvds1ft1e4tdbjqkp --network testnet
Recover the safe (Beneficiary):
safient safe recover 01fgbz287dvds1ft1e4tdbjqkp --network testnet
Building locally
Create an .env
with INFURA_API_KEY
, USER_API_KEY
, USER_API_SECRET
and DB_FILE_NAME='./thread.config'
npm install
npm run build
Technologies used:
Contributing
You are welcome to submit issues and enhancement requests and work on any of the existing issues. Follow this simple guide to contribute to the repository.
- Create or pick an existing issue to work on
- Fork the repo on GitHub
- Clone the forked project to your own machine
- Commit changes to your own branch
- Push your work back up to your forked repo
- Submit a Pull request from the forked repo to our repo so that we can review your changes
Resources:
0.1.9-alpha
2 years ago
0.1.8-alpha
2 years ago
0.1.7-alpha
2 years ago
0.1.6-alpha
2 years ago
0.1.1-alpha
2 years ago
0.1.3-alpha
2 years ago
0.1.5-alpha
2 years ago
0.1.2-alpha
2 years ago
0.1.4-alpha
2 years ago
0.1.0-alpha
3 years ago
0.1.0
3 years ago