CLI tools for KevaCoin blockchain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
813 B

12 months ago
# clitor
12 months ago
12 months ago
CLI for large objects in small blocks
12 months ago
## drivers
* [x] [kevacoin](https://github.com/kevacoin-project/kevacoin)
### put
export FS object to blockchain namespace
```
php kevacoin/put.php processor filename [length] [delay]
12 months ago
```
12 months ago
* `processor` - path to `kevacoin-cli`
12 months ago
* `filename` - local file path to store in blockchain
12 months ago
* `length` - optional split size, `3072` bytes [max](https://kevacoin.org/faq.html)
12 months ago
* `delay` - optional seconds of parts sending delay to prevent `too-long-mempool-chain` reject, default `60`
12 months ago
### get
import namespace to FS location
```
12 months ago
php kevacoin/get.php processor namespace [destination]
12 months ago
```
12 months ago
* `processor` - path to `kevacoin-cli`
12 months ago
* `namespace` - hash received from the `put` command
* `destination` - optional file system location, `data/import` by default