All Projects → likecoin → likecoin-tx-poll

likecoin / likecoin-tx-poll

Licence: GPL-3.0 license
Firestore based service of polling eth status and resending tx

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to likecoin-tx-poll

openst-platform
OpenST Platform provides an interface to tokenise mainstream consumer applications with crypto-assets on Ethereum [deprecated in favour of openst.js and mosaic.js]
Stars: ✭ 84 (+546.15%)
Mutual labels:  web3
cannercms
⚡️[NOT MAINTAINED] Content Management Framework creates custom CMS fast and easy. Support data sources such as Firebase/Firestore, GraphQL and Restful APIs.
Stars: ✭ 2,452 (+18761.54%)
Mutual labels:  firestore
web3-provider-ledger
A web3 provider for Ledger hardware wallets
Stars: ✭ 15 (+15.38%)
Mutual labels:  web3
ape
The smart contract development tool for Pythonistas, Data Scientists, and Security Professionals
Stars: ✭ 339 (+2507.69%)
Mutual labels:  web3
emerald-web3-gateway
The Web3 Gateway for the Oasis Emerald ParaTime.
Stars: ✭ 19 (+46.15%)
Mutual labels:  web3
hivemind
Hive API server (offloads most API calls from hived) implemented using Python+SQL
Stars: ✭ 46 (+253.85%)
Mutual labels:  web3
stor
[DEPRECATED] STOR provides a JSON database with the power of HTTP requests 🚀
Stars: ✭ 18 (+38.46%)
Mutual labels:  firestore
widgets
💸 Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion with state-of-the-art widgets.
Stars: ✭ 32 (+146.15%)
Mutual labels:  web3
like-co
Official site of LikeCoin - Decentralized Publishing Infrastructure. https://like.co
Stars: ✭ 59 (+353.85%)
Mutual labels:  likecoin
multisol
CLI application for verifying Solidity contracts on Etherscan
Stars: ✭ 94 (+623.08%)
Mutual labels:  web3
svelteWeb3
A simple, dependency minimized package for building modern dApps with Svelte
Stars: ✭ 14 (+7.69%)
Mutual labels:  web3
attestation
Paper and implementation of blockchain attestations
Stars: ✭ 44 (+238.46%)
Mutual labels:  web3
barber-shop
Vue + Firebase (cloud functions, auth, firestore, hosting) reservations system
Stars: ✭ 47 (+261.54%)
Mutual labels:  firestore
datamodels
A collection of data models used by Ceramic applications
Stars: ✭ 66 (+407.69%)
Mutual labels:  web3
cosmos-paychan
A Cosmos SDK module to add payment channels to any blockchain built using the SDK.
Stars: ✭ 14 (+7.69%)
Mutual labels:  cosmos-sdk
waylan android
A dictionary concept for Android ~ Making words and their meanings available through a natural and beautiful experience
Stars: ✭ 13 (+0%)
Mutual labels:  firestore
web3-webpacked
Drop-in web3 solution for single-page Ethereum dApps
Stars: ✭ 36 (+176.92%)
Mutual labels:  web3
ionic4-ngrx-firebase
A basic application for Ionic 4 with firebase & ngrx actions, reducers and effects
Stars: ✭ 17 (+30.77%)
Mutual labels:  firestore
loopback-connector-firestore
Firebase Firestore connector for the LoopBack framework.
Stars: ✭ 32 (+146.15%)
Mutual labels:  firestore
crisis-news-mapper
日本の災害関連ニュースをTwitterから収集して地図上にマッピングするFirebaseプロジェクト crisis.yuiseki.net
Stars: ✭ 13 (+0%)
Mutual labels:  firestore

likecoin-tx-poll

CircleCI Greenkeeper badge

A firestore based ETH tx status poller (and auto resender)

Folder structure

├── config
│   ├── config.js # config file
│   └── serviceAccountKey.json # firestore crendentials
├── util # helper functions
│   ├── db.js # firestore watch helper
│   ├── gcloudPub.js # optional gcloud pubsub log
│   └── web3.js # web3/tx related functions
├── poll.js # poller handler
├── retry.js # retry handler
└── index.js # main entry

Config setting

Please refer to comments in config.js for example and explanation.

Firestore required field

Except txHash, Most fields are optional but useful for log.

rawSignedTx and delegatorAddress is required for retrying tx.

{
      txHash,
      from,
      to,
      value,
      fromId,
      toId,
      currentBlock,
      nonce,
      rawSignedTx, // tx.rawTransaction
      delegatorAddress, // sender address for retrying, must match original sender
}

Dev Setup

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

# install dependencies
npm install

# run the program
npm start

# ... or docker-based
docker-compose up
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].