Registry / crypto / filecoin-project-go-commp-utils

filecoin-project-go-commp-utils

JSON →
library0.1.4gogounverified

Utility functions for computing and verifying commP (piece commitment) in Filecoin.

go get github.com/filecoin-project/go-commp-utils
INSTALL
IMPORT
SIG · FILECOIN-PROJECT-G
F
filecoin-project-go-commp-utils
cryptogov0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

commp
✓ github.com/filecoin-project/go-commp-utils

Generate piece commitment for a file

package main import ( "fmt" "github.com/filecoin-project/go-commp-utils" ) func main() { commp, err := commp.GeneratePieceCommitment("path/to/file") if err != nil { panic(err) } fmt.Println(commp) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
filecoin-project-go-commp-utils — go get filecoin-project-go-commp-utils · libregistry