Sequential transaction manager to ensure confirmation by resubmitting on failure
Go to file
Serg 57aa950a2f
Typing (#4)
* type definitions

* remove Object.assign(), use BigNumber

* path custom ethers provider to constructor. test

* providers test

* using gas-price-oracle v0.5.0

* manager params provider type

* provider type fix

* update deps

* maxPriorityFee param, tests fix

* fix: cancel/replace

* fix: gasParams check

* fix: handleRpcError with web3 provider

Co-authored-by: Danil Kovtonyuk <danx.kov@gmail.com>
2022-07-14 15:39:17 +10:00
.github/workflows prettier 2020-10-02 13:00:45 +03:00
src Typing (#4) 2022-07-14 15:39:17 +10:00
test Typing (#4) 2022-07-14 15:39:17 +10:00
.editorconfig initial 2020-10-01 07:56:47 +03:00
.env.example Typing (#4) 2022-07-14 15:39:17 +10:00
.eslintrc.json Typing (#4) 2022-07-14 15:39:17 +10:00
.gitignore remove an anoying console.log 2020-10-30 11:56:24 +03:00
.prettierrc prettier 2020-10-02 12:50:59 +03:00
index.d.ts Typing (#4) 2022-07-14 15:39:17 +10:00
index.js prettier 2020-10-02 12:14:40 +03:00
package.json Typing (#4) 2022-07-14 15:39:17 +10:00
README.md initial 2020-10-01 07:56:47 +03:00
yarn.lock Typing (#4) 2022-07-14 15:39:17 +10:00

TxManager GitHub Workflow Status npm

Transaction manager that assumes that it has exclusive access to an address and submits one transaction at a time

Will try to bump gas price or resubmit transaction when needed, ensuring that tx is eventually mined