Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kleros/linguo-automation
Linguo automation bot
https://github.com/kleros/linguo-automation
arbitrable backend linguo
Last synced: about 1 month ago
JSON representation
Linguo automation bot
- Host: GitHub
- URL: https://github.com/kleros/linguo-automation
- Owner: kleros
- License: mit
- Created: 2020-08-15T20:39:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-14T23:37:11.000Z (about 3 years ago)
- Last Synced: 2023-02-26T18:16:20.244Z (almost 2 years ago)
- Topics: arbitrable, backend, linguo
- Language: JavaScript
- Homepage:
- Size: 999 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linguo Automation
A suite of automation utilities for Linguo as serverless functions (AWS Lambda), that will:
- Watch on-chain events regarding all Linguo contracts in a timely fashion.
- Advance task state through the known task life-cycle.
- Securely store and retrieve notification settings for users.
- Send e-mail notifications for users based on on-chain events.## Deploy
This serverless application is composed of 4 stages, namely:
- `kovan` (DEPRECATED)
- `mainnet` (DEPRECATED)
- `sokol`
- `xdai`As the names probably give away, each stage is wired into an specific Ethereum network.
To deploy all functions for a given stage at once, run:
```sh
yarn deploy: # e.g.: yarn deploy:mainnet
```The process might take a while.
## Contributing
### Removing the deprecated stages
Once Linguo on Mainnet is sunset, one can safely remove the `mainnet` stage to save up some AWS costs by running:
```sh
yarn sls destroy --stage mainnet
```