10000 GitHub - Evert0x/ENSbot: Telegram chatbot for renewal of ENS domain names
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ ENSbot Public

Telegram chatbot for renewal of ENS domain names

Notifications You must be signed in to change notification settings

Evert0x/ENSbot

Repository files navigation

ENS Bot

Telegram chatbot for renewal of ENS domain names (https://ens.domains/), made during https://hackathon.money/.

Start chatting with https://t.me/EasyENS_bot

Flow

When users start chatting, their Ethereum address is retreived from the mapper. This will only work if users use the Telegram Totality client (https://github.com/Evert0x/Telegram).

The ENS registrar is being queried to retreive all the .eth domain names that belong to the user. Users are able to renew a domain name with /renew <name> and will receive a notification if the domain name expires.

If users use the Telegram Totality fork, they are able renew their domain name by pressing an in chat button!

In chat buttons for renewal

Run it yourself

Fill in .env file

BOT_TOKEN={Ask @botfather}
NETWORK=3
PROVIDER=https://ropsten.infura.io/v3/{INFUA_TOKEN}
PROVIDER_WS=wss://ropsten.infura.io/ws/v3/{INFUA_TOKEN}
ENS_ADDRESS=0x283Af0B28c62C092C9727F1Ee09c02CA627EB7F5
MAPPER={tg address mappen}
FLASK_HOST=localhost
FLASK_PORT=5000
ETHERSCAN=https://ropsten.etherscan.io

  • python database.py, create SQLite database
  • pip install -r requirements.txt, install all dependencies (virtualenv recommended)
  • python app.py, run the application

About

Telegram chatbot for renewal of ENS domain names

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0