ninabreznik / datdot-service

datdot service

Home Page:https://playproject.io/datdot-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DatDot

a p2p solution for hosting files with Hypercore protocol (...more)

Community

Join our discord

Build

This version is work in progress (to try previous verisons of the code, see milestone-1 and milestone-2 branches)

Clone

git clone https://github.com/datdotorg/datdot-service.git cd datdot-service

Install dependencies

npm install

Run

npm run bootstrap start the bootstrapping nodes npm run simulation -- -s 1 -p bootstrap.json run the scenario which also spawns the chain npm run simulation -- -s 2 -c 10000 -p bootstrap.json -t run the additional scenario and connect to already running chain (optional)

or run a simsim.js where you can customize the tests

npm run bootstrap start the bootstrapping nodes node demo/simsim.js

Monitoring

npm run bootstrap start the bootstrapping nodes node demo/simsim.js &>> logs.txt save logs in a logs.txt file

Monitor for:

  • successfully passed performance challenges tail -f logs.txt | grep -o 'challenge success'
  • errors tail -f logs.txt | grep -o 'error'

Research

See our research repo

Organization

https://github.com/datdotorg

License

MIT

About

datdot service

https://playproject.io/datdot-service

License:MIT License


Languages

Language:JavaScript 100.0%