- Notifications
You must be signed in to change notification settings - Fork1
AraBlocks/ara-reward-dcdn
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An Ara Network node that runs a rewardable decentralized content distribution node.
Important reminder: All Ara development is still in flux.
$ npm install --save ara-reward-dcdn
$ ard start -i<userDID>
$ ard download -d<contentDID> -i<userDID>
$ ard seed -d<contentDID> -i<userDID>
SeeCLI docs
SeeAPI docs
index.js
is anANN-compliant interface anddoes not give direct access to the DCDN class. For access to the DCDN class, userequire('ara-reward-dcdn/dcdn')
.
Example download:
constDCDN=require('ara-reward-dcdn/dcdn')constdcdn=newDCDN({password:'password',userId:'0a98c8305035dcbb1e8fa0826965200269e232e45ac572d26a45db9581986e67'})dcdn.join({did:'1b23c8305035dcbb1e8fa0826965200269e232e45ac572d26a45db95819abcd1',download:true,upload:false,metaOnly:false,price:1,maxPeers:10,jobId:'ac23c8305035dcbb1e8fa0826965200269e232e45ac572d26a45db95819aef24'})
ara-runtime-configuration is a dependency ofara-network and will read from the nearest.ararc
. Installara-runtime-configuration separately to specify default values not present in an.ararc
.
LGPL-3.0
About
Ara-Reward-DCDN
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.