Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

plan-systems/plan-vault-hypercore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plan-vault-hypercore

An implementation of the PLAN storage layer_

Development status

This route was abandoned in lieu of using libp2p as the initial vault implementation.

Pre-alpha prototyping was underway. The only thing that's known to work is that which is covered by tests. Not yet wired up for p2p, lots of validation bugs, and things like crashes if you close a feed twice. See TODOs in the code for details; as the prototype solidifies this repo will use GitHub issues to track progress.

Build

With a recent Node.js tool chain (verified on v12.18.3), install dependencies and re-generate the protobuf code via make build.

For now, the vault.proto file is manually synced from plan-protobufs. If you have that repo checked out as a sibling directory to this repo, you can sync the file via make proto-sync.

Test

The tests are integration tests while we work through the prototype and work out the details of the API between the pnode and the vault.

  • Run the vault via make run.
  • In a separate terminal window, run the tests via make test.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published