Skip to content

petm5/js-ipni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-ipni

Create signed Advertisement records for the InterPlanetary Network Indexer (IPNI)

This library implements the Advertisement and EntryChunk chain structs according to the IPNI spec and its implementation in go-libipni.

HAMT entry records (used for efficiency when publishing very large datasets) are not implemented in this library, but they could be generated externally and passed into an Advertisement in place of the standard Entry chain. Use something like js-ipld-hashmap following the IPNI HAMT spec if you want to generate them.

Extended providers are not currently supported.

Sharing advertisement records with indexers is considered out of scope. If you want to do that, please follow the Advertisement Transfer spec.

Usage

todo, see tests and generate-ipni.ts

Supported Provider Protocols

Credits

Based on the following reference implementations:

About

Create signed IPNI advertisements for IPFS CIDs and IPNS records

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors