Skip to content
forked from dtube/avalon

Blockchain for social distribution

License

Notifications You must be signed in to change notification settings

Techspire/avalon

 
 

Repository files navigation

AVALON

Get a node running

Dependencies

  • MongoDB
  • NodeJS v10/12/14 (LTS)
  • ntpd or any NTP alternative for your system. ntpd comes pre-installed on most linux distributions

Install and run an Avalon node for Linux

  • npm install to install nodejs dependencies
  • chmod +x scripts/start.sh
  • ./scripts/start.sh

Environment Variables

The start.sh shows the list of available environment variables you can set to make avalon behave slightly differently from the default install.

Install and run an Avalon node for Windows

  • npm install to install nodejs dependencies
  • Get your own keys with node src/cli.js keypair
  • Save your keys
  • Add your keys to scripts/start.bat
  • Define the path to your directory in scripts/start.bat
  • Run scripts/start.bat
  • Note: to restore a genesis.zip file you may need to download the mongo databasetools and put the mongorestore.exe binary into your main directory.

Get helped

We have a discord channel dedicated to node owners (aka leaders), where you can get support to get set up. Join discorg.gg/dtube and go to DTube Chain -> #leader-candidates

Using Avalon