https://github.com/byteball/email-attestation
A bot that attests the user's email address
https://github.com/byteball/email-attestation
Last synced: about 1 year ago
JSON representation
A bot that attests the user's email address
- Host: GitHub
- URL: https://github.com/byteball/email-attestation
- Owner: byteball
- Created: 2018-02-23T11:59:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-09T07:37:21.000Z (almost 4 years ago)
- Last Synced: 2025-04-14T14:17:53.293Z (about 1 year ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 3
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Email Attestation Bot
A bot that attests the user's email address
# Setup
* Run `npm install` to install node modules.
* Run `node db_import.js` to import `db.sql` into the database and appling database migrations.
* Run `node attestation.js` first time to generate keys.
* Configure `admin_email`, `from_email`, `attestation_from_name`, `attestation_from_email` and `salt` values in new conf.json file (desktopApp.getAppDataDir() folder). Read more about other configuration options [there](https://github.com/byteball/headless-obyte#customize).
* Send bytes to `== distribution address`, which is displayed in logs, it is for whitelisted domain emails and referral bonuses.
* Run `node attestation.js` again.
# Testnet
* Run `cp .env.testnet .env` to connect to TESTNET hub. Delete and import the database again if you already ran it on MAINNET.
* Change `bLight` value to true in conf.json file, so you would not need to wait for long syncing.
* Change `socksHost` and `socksPort` values to null in conf.json file, if you are not using TOR.
# Translating
Join [Crowdin project](https://crowdin.com/project/byteball-betting-bot) to help with translations.