ipfs-proof-builder
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

Welcome to ipfs-proof-oracle 👋

Version License: ISC

This package implements a Merkle Proof Builder over IPFS.

Given a description of a File Stored on IPFS, it:

  1. Queries for a Challenge Block
  2. Builds a proof for that block from an obao file
  3. Returns the built proof to the caller

obao files must be provided by the caller, and accessed through a custom callback

Install

npm install

Building

npm run build

Run tests

Populate spec/testCases/testFiles/pinned with files that you know are pinned or available over IPFS. These can be gathered through an IPFS gateway. Populate spec/testCases/testFiles/unpinned with files that you know are not pinned or available over IPFS. Try using personal data you know isn't public, or random generated text files. Given these files, our test script pre-processes them into obao files that can be used to test our proof builder.

npm test

Author

👤 Alex Miller and Jonah Kaye

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

Readme

Keywords

none

Package Sidebar

Install

npm i ipfs-proof-builder

Weekly Downloads

0

Version

0.0.9

License

ISC

Unpacked Size

17.1 kB

Total Files

10

Last publish

Collaborators

  • amiller68