Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Scan the Ethereum blockchain and trigger actions based on events

Notifications You must be signed in to change notification settings

solomondefi-dev/blockchain-mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This repository has moved ⚠️

Solomon is migrating to a monorepo, this repository is no longer used. See https://github.com/solomondefi/solomon-monorepo

Solomon Blockchain Emailer

A service that scans the blockchain and triggers actions based on incoming log messages. It is intended for use in the Solomon payments ecosystem, but may be adapted for general use.

At a high level, the operation is simple:

  1. Scan blocks for events from a list of contracts
  2. On meeting some event condition, e.g. CreateEscrow emitted, trigger a list of actions

The list of scanned contracts may be dynamically updated, and actions adhere to a standard plugin interface.

Solomon implements scanners for:

  • Notifying (via email) buyers, merchants, or escrow holders when a contract deploys
  • Notifying both parties when a dispute is initiated
  • Notifying parties when funds are withdrawn from escrow

The service is written with Typescript as a nodejs application. See the Github repository for more technical details including setup and deploy procedures.

Usage

Install

npm install

Develop

npm run dev

Production

npm start

About

Scan the Ethereum blockchain and trigger actions based on events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published