https://github.com/likecoin/likecoin-prayer
LikeCoin batch transaction service used for automated payments
https://github.com/likecoin/likecoin-prayer
cosmos-sdk ethereum firebase likecoin web3
Last synced: about 1 year ago
JSON representation
LikeCoin batch transaction service used for automated payments
- Host: GitHub
- URL: https://github.com/likecoin/likecoin-prayer
- Owner: likecoin
- License: gpl-3.0
- Created: 2018-03-29T12:45:23.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-01T21:15:08.000Z (over 2 years ago)
- Last Synced: 2025-03-23T06:11:18.145Z (over 1 year ago)
- Topics: cosmos-sdk, ethereum, firebase, likecoin, web3
- Language: JavaScript
- Homepage:
- Size: 2.37 MB
- Stars: 14
- Watchers: 8
- Forks: 3
- Open Issues: 67
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# likecoin-prayer
[](https://circleci.com/gh/likecoin/likecoin-prayer)
[](https://greenkeeper.io/)
> A firestore based util for batching our payments, and praying for infura/ethereum network to handle them.
## Folder structure
```bash
├── config
│ ├── accounts.js # eth accounts for payment
│ ├── config.js # config file
│ └── serviceAccountKey.json # firestore crendentials
├── constant # constant
│ └── likecoin.js # LikeCoin contract for abi calls
├── util # helper functions
│ ├── firebase.js # firebase/firestore singleton/util
│ ├── gcloudPub.js # optional gcloud pubsub log
│ ├── logger.js # firestore tx logger for likecoin-tx-poll usage
│ ├── poller.js # firestore watcher for gas price update
│ └── web3.js # web3/tx related functions
└── index.js # main entry
```
## Dev Setup
``` bash
# Remeber to setup accounts.js config.js and serviceAccountKey.json first!
# install dependencies
npm install
# run the program
npm start
```