Skip to content

QuestNetwork/quest-coral-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quest Coral JS

IPFS Datastore For The Quest Network

Lead Maintainer

StationedInTheField

Description

IPFS Datastore For The Quest Network.

Installation & Usage

npm install @questnetwork/quest-coral-js@0.9.4

We recommend to use our quest-cli to test and build the package. Pro Tip: Put a file in your /bin that runs the quest-cli like so node /path/to/quest-cli/index.js from any folder on your system. It's much nicer!

API

dag

async set(path, unencrytpedObject,storagePath)

Bee Ocean

Returns the reference object.

let latestRef = <os>.ocean.coral.dag.set('/my/path',unencrytpedObject,{ storagePath: '/archive/social/timeline/transaction' });

async add(path, unencrytpedObject,storagePath)

Bee Ocean

Returns the reference object.

let latestRef = <os>.ocean.coral.dag.add('/my/path',unencrytpedObject,{ storagePath: '/archive/social/timeline/transaction' });

async get(pathOrCid, config = {})

Bee Ocean

Returns the decrypted object or array of objects. let array = <os>.ocean.coral.dag.get('/my/path',{ limit: 5 });

Features

0.9.4

Support Us

This project is a lot of work, please help us start a non-profit for it (ツ)

Ethereum Bitcoin
0xBC2A050E7B87610Bc29657e7e7901DdBA6f2D34E bc1qujrqa3s34r5h0exgmmcuf8ejhyydm8wwja4fmq

License

GNU Affero GPLv3

About

Data/File Persistance For The Quest Network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published