a p2p solution for hosting files with Hypercore protocol (...more)
Join our discord
This version is work in progress (to try previous verisons of the code, see milestone-1 and milestone-2 branches)
git clone https://github.com/datdotorg/datdot-service.git
cd datdot-service
npm install
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
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'
See our research repo
MIT