Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ara-Reward-DCDN

License

NotificationsYou must be signed in to change notification settings

AraBlocks/ara-reward-dcdn

Repository files navigation

ara-reward-dcdn

Build Status

An Ara Network node that runs a rewardable decentralized content distribution node.

Status

Important reminder: All Ara development is still in flux.

Dependencies

Installation

$ npm install --save ara-reward-dcdn

Usage

Start

$ ard start -i<userDID>

Download

$ ard download -d<contentDID> -i<userDID>

Seed

$ ard seed -d<contentDID> -i<userDID>

CLI

SeeCLI docs

API

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'})

Configuration

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.

Contributing

See Also

License

LGPL-3.0

About

Ara-Reward-DCDN

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors4

  •  
  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp