{"id":18454587,"url":"https://github.com/likecoin/likecoin-tx-poll","last_synced_at":"2025-06-25T05:03:41.595Z","repository":{"id":36318724,"uuid":"123867178","full_name":"likecoin/likecoin-tx-poll","owner":"likecoin","description":"Firestore based service of polling eth status and resending tx","archived":false,"fork":false,"pushed_at":"2025-03-27T14:28:29.000Z","size":1011,"stargazers_count":13,"open_issues_count":3,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-25T05:03:05.382Z","etag":null,"topics":["cosmos-sdk","ethereum","firebase","firestore","likecoin","web3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/likecoin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-05T05:03:05.000Z","updated_at":"2025-03-27T14:28:33.000Z","dependencies_parsed_at":"2025-03-18T18:34:49.479Z","dependency_job_id":"3be89774-27ac-44d7-a07b-224913897a22","html_url":"https://github.com/likecoin/likecoin-tx-poll","commit_stats":{"total_commits":89,"total_committers":9,"mean_commits":9.88888888888889,"dds":0.4382022471910112,"last_synced_commit":"dc77af2dbb0746c6141141af71048a64775437c2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/likecoin/likecoin-tx-poll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likecoin%2Flikecoin-tx-poll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likecoin%2Flikecoin-tx-poll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likecoin%2Flikecoin-tx-poll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likecoin%2Flikecoin-tx-poll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/likecoin","download_url":"https://codeload.github.com/likecoin/likecoin-tx-poll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/likecoin%2Flikecoin-tx-poll/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261807929,"owners_count":23212683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cosmos-sdk","ethereum","firebase","firestore","likecoin","web3"],"created_at":"2024-11-06T08:05:24.377Z","updated_at":"2025-06-25T05:03:41.554Z","avatar_url":"https://github.com/likecoin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# likecoin-tx-poll\n[![CircleCI](https://circleci.com/gh/likecoin/likecoin-tx-poll.svg?style=svg)](https://circleci.com/gh/likecoin/likecoin-tx-poll)\n[![Greenkeeper badge](https://badges.greenkeeper.io/likecoin/likecoin-tx-poll.svg)](https://greenkeeper.io/)\n\n\u003e A firestore based ETH tx status poller (and auto resender)\n\n## Folder structure\n```bash\n├── config\n│   ├── config.js # config file\n│   └── serviceAccountKey.json # firestore crendentials\n├── util # helper functions\n│   ├── db.js # firestore watch helper\n│   ├── gcloudPub.js # optional gcloud pubsub log\n│   └── web3.js # web3/tx related functions\n├── poll.js # poller handler\n├── retry.js # retry handler\n└── index.js # main entry\n```\n\n## Config setting\nPlease refer to comments in config.js for example and explanation.\n\n## Firestore required field\nExcept `txHash`, Most fields are optional but useful for log.\n\n`rawSignedTx` and `delegatorAddress` is required for retrying tx.\n\n\n```javascript\n{\n      txHash,\n      from,\n      to,\n      value,\n      fromId,\n      toId,\n      currentBlock,\n      nonce,\n      rawSignedTx, // tx.rawTransaction\n      delegatorAddress, // sender address for retrying, must match original sender\n}\n```\n\n## Dev Setup\n\n``` bash\n# Remeber to setup config.js and serviceAccountKey.json first!\n\n# install dependencies\nnpm install\n\n# run the program\nnpm start\n\n# ... or docker-based\ndocker-compose up\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikecoin%2Flikecoin-tx-poll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flikecoin%2Flikecoin-tx-poll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flikecoin%2Flikecoin-tx-poll/lists"}