Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Deposit Submitter: Add tool for opening and funding deposits #38

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Shadowfiend
Copy link
Contributor

Meant for testing.

It was getting in the way of imports resolving in VSCode.
Even though it's used later, having it up top makes it clear what usage will be
when you open the file.
The fee estimator on BitcoinHelpers is about to get more correct, so change the
usage of getMinimumRedemptionFee to be more explicit.
Also expose the minimum relay fee in ElectrumClient, though it's not exposed in
BitcoinHelpers for the time being.
No idea why this defaults to off. For now we enable it globally instead of
targeting contracts one-by-one. This seems more advisable, but could interfere
with other folks' usage of the web3 object that is passed. Room for adjustment
if that ends up being the case.
Currently with a hardcoded Ethereum account and Bitcoin wallet, opens a deposit
every 2 minutes and funds it. Requests an up-front Bitcoin funding.
This flag repeatedly creates tBTC deposits and funds them. Rather
than waiting for each deposit's funding transaction to fully
confirm, a new deposit opened once the previous deposit's signing
group becomes available.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth flagging, current code doesn't pay attention to a -c flag, and though it reads the two file parameters, it ignores them.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant