Skip to content

LikeCoin batch transaction service used for automated payments

License

Notifications You must be signed in to change notification settings

likecoin/likecoin-prayer

Repository files navigation

likecoin-prayer

CircleCI Greenkeeper badge

A firestore based util for batching our payments, and praying for infura/ethereum network to handle them.

Folder structure

├── 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

# Remeber to setup accounts.js config.js and serviceAccountKey.json first!

# install dependencies
npm install

# run the program
npm start

About

LikeCoin batch transaction service used for automated payments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages