EthTTT- "If This, Then That" for Ethereum
Automate your favorite on-chain activities! No coding necessary. #EthDenver 2019 Submission
You should 1. Use a testnet and 2. Use a public/private keypair WITHOUT a balance of Main Net Ether.
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.
- To allow non-developers to define their own no-code triggers and actions
- To allow developers to contribute new triggers and actions.
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 | 🔜 |
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
.
npm i
npm i serverless -g
(recommended)npm run deploy
Started by @corbpage @conroydave @iamchrissmith, @pakaplace and @jdstorey_
Corbin Page 💻 |
John Danger Storey 💻 |
Chris Smith 💻 |
Parker Place 💻 📖 |
David Conroy 💻 |
---|