A bot that attests the user's passport or ID card data.
- Have at least Node 8 installed.
- Go into project folder.
- Run
npm installto install node modules. - Download "GeoLite2 Country" MaxMind DB, unzip it and extract
GeoLite2-Country.mmdbinto parent folder. - Run
node attestation.jsfirst time to generate keys. - Configure
admin_email,from_email,saltandwebPortvalues in new conf.json file (desktopApp.getAppDataDir() folder). Read more about other configuration options there. - Run
node db_import.jsto importdb.sqlinto the database and appling database migrations. - Send bytes to
== distribution address, which is displayed in logs, it is for rewards and referral bonuses. - Setup Nginx on
webPortthat you set. - Run
node attestation.jsagain.
- Run
cp .env.testnet .envto connect to TESTNET hub. Delete and import the database again if you already ran it on MAINNET. - Change
bLightvalue to true in conf.json file, so you would not need to wait for long syncing. - Change
socksHostandsocksPortvalues to null in conf.json file, if you are not using TOR.