Skip to content

eththisthenthat/if-be

Repository files navigation

EthTTT- "If This, Then That" for Ethereum

Automate your favorite on-chain activities! No coding necessary. #EthDenver 2019 Submission

This is currently under development ⚠️

You should 1. Use a testnet and 2. Use a public/private keypair WITHOUT a balance of Main Net Ether.

Description

EthTTT aims to be the "If This Then That" of Ethereum. A user should be able to define a "trigger" with conditions for which an "action" would fire. Both triggers and actions can be on or off-chain event. We've since learned of projects such as @MaticNetwork's Zapier integration and EthVelcro(another EthDenver Submission).

EthDenver Submission Link on Kauri

Examples:

  • If there's a large transfer of your favorite token, send a text notification to your phone.
  • If my CDP is approaching liquidation, then top off your CDP.
  • If the price of Ethereum drops below $300, then trade your ether for dai.
  • If a DAO I participate in starts a vote, then send a text notification to your phone.

Guiding Principles

  1. To allow non-developers to define their own no-code triggers and actions
  2. To allow developers to contribute new triggers and actions.

Work In Progress

Triggers Inputs Status
Ether price limit (low) limitPrice
Ether price limit (high) limitPrice 🔜
Block Number blockNumber 🔜
Actions Inputs Status
Transfer Ether toAddress, privateKey
Send SMS Text phoneNumber, msg 🔜

Architecture

EthTTT is built on the serverless framework. Serverless is a framework for deploy AWS Lambda functions, along with the AWS infrastructure resources they require (we use DynamoDB). Although our team is admittedly new to serverless, it seemed to be an ideal use case for running cron jobs and composing tasks from trigger-action pairs.

We refer to "If" conditions as Triggers and "Then" conditions as Actions. Triggers and Actions are combined to compose a new Task.

How to run locally:

  1. npm i
  2. npm i serverless -g (recommended)
  3. npm run deploy

Contributors

Started by @corbpage @conroydave @iamchrissmith, @pakaplace and @jdstorey_

Corbin Page
Corbin Page

💻
John Danger Storey
John Danger Storey

💻
Chris Smith
Chris Smith

💻
Parker Place
Parker Place

💻 📖
David Conroy
David Conroy

💻

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published