0.1.0 • Published 9 months ago

axon-daemon v0.1.0

Weekly downloads
-
License
AGPL-3.0
Repository
-
Last release
9 months ago

axon-node

Start a node, join pools, earn tokens for hosting torrents.

You can join/leave hosting pools through the dapp, and the node will listen for on-chain events in order to automatically seed torrents in your pools. The upload/download logs are sent to the aggregator, which computes the work matrix and posts it on-chain, so you can earn rewards.

Roadmap.

v1.

  • Automatically listen to pools joined/left by the user.
  • Automatically start seeding torrents in these pools.
  • Automatically torrent and untorrent based on on-chain events.

v2.

  • Download initial file from Arweave.
  • Report capacity (disk space, bandwidth speed) to aggregator. Automatic price controller for "axon" resources.

Usage.

DEBUG=axon:* DEV=1 PRIVATE_KEY="0x2ce6a49f7f57e1b93c91d56ea80bfe83448bade8fc5222e78a3c692947faa92e" node --experimental-modules bin/dappnet.js node --torrent-data-path $(realpath ./uploads)

Demo.

DEBUG=axon:* ./seed.sh

Configuration.