Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Komodo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HEME Clement
Komodo
Commits
a49b4a95
Unverified
Commit
a49b4a95
authored
1 year ago
by
STEVAN Antoine
🦀
Browse files
Options
Downloads
Patches
Plain Diff
add a few instructions on how to use `komodo`
parent
b83361f8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+32
-0
32 additions, 0 deletions
README.md
with
32 additions
and
0 deletions
README.md
+
32
−
0
View file @
a49b4a95
# Komodo: Cryptographically-proven Erasure Coding
## Usage
Komodo can either be used as a library or as a binary application.
## the library
see
`cargo doc`
## the binary application
below is an example of how to use the binary application with Nushell:
```
bash
use komodo.nu
[
"komodo build"
,
"komodo setup"
,
"komodo prove"
,
"komodo verify"
,
"komodo reconstruct"
,
]
use binary.nu
[
"bytes decode"
]
let
bytes
=
open komodo.nu
komodo build
komodo setup
$bytes
komodo prove
$bytes
--fec-params
{
k: 3, n: 5
}
komodo verify blocks/0.bin blocks/1.bin
(
komodo reconstruct blocks/0.bin blocks/2.bin blocks/3.bin | bytes decode
)
==
$bytes
```
`true`
should be printed at the end :thumbsup:
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment