My Account is now available for chains that would like to incorporate personalization into their explorer. You will need to configure several 3rd party accounts to fully interact with the My Account feature. These include:
- Uberauth: User authentication & login
- Sendgrid: Watchlist notifications
- Airtable: Public Tag requests via API
Once these are setup, update your Blockscout instance and add the My Account ENV variables. Below are examples from the Gnosis Chain instance with some private info redacted.
ACCOUNT_ENABLED=true
ACCOUNT_AUTH0_DOMAIN=login.blockscout.com
ACCOUNT_AUTH0_CLIENT_ID=...
ACCOUNT_AUTH0_CLIENT_SECRET=...
ACCOUNT_SENDGRID_API_KEY=...
[email protected]
ACCOUNT_SENDGRID_TEMPLATE=d-...
ACCOUNT_PUBLIC_TAGS_AIRTABLE_URL=https://api.airtable.com/v0/.../Public%20Tags
ACCOUNT_PUBLIC_TAGS_AIRTABLE_API_KEY=key...
ACCOUNT_CLOAK_KEY=...
ACCOUNT_REDIS_URL=redis://redis_db:6379
ACCOUNT_DATABASE_URL=postgresql://user:pass@host:port/db
Add request_type
and request_id
variables to the airtable when configuring for your My Account settings.
The following variables are needed for your airtable.