Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the staking command #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

update the staking command #1

wants to merge 4 commits into from

Conversation

LeeNorth
Copy link
Collaborator

  1. Add the re-staking functionality to the stake command.
  2. Update the parameter explanations for the stake command.

@@ -73,6 +74,7 @@ program
witness: args.witness,
bitcoinRpc: args.bitcoinrpc,
fee: fee || args.fee,

Choose a reason for hiding this comment

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

0x4092f0eF91bF408aad7B611915A82537BAaa573b

@@ -46,7 +46,7 @@ program
.description("Stake BTC")
.requiredOption("-acc, --account <account>", "The Bitcon address used to stake.")
.requiredOption("-privkey, --privatekey <privatekey>", "The private key used to sign the transaction, which should be associated with --account. Hex format.")
.requiredOption("-amt, --amount <amount>", "Amount of BTC to stake, measured in SAT.")
.option("-amt, --amount <amount>", "Amount of BTC to stake, measured in SAT, default to all amount of BTC")

Choose a reason for hiding this comment

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

71 core

Choose a reason for hiding this comment

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

0x4092f0eF91bF408aad7B611915A82537BAaa573b

@@ -46,7 +46,7 @@ program
.description("Stake BTC")
.requiredOption("-acc, --account <account>", "The Bitcon address used to stake.")
.requiredOption("-privkey, --privatekey <privatekey>", "The private key used to sign the transaction, which should be associated with --account. Hex format.")
.requiredOption("-amt, --amount <amount>", "Amount of BTC to stake, measured in SAT.")
.option("-amt, --amount <amount>", "Amount of BTC to stake, measured in SAT, default to all amount of BTC")

Choose a reason for hiding this comment

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

71 core

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

Successfully merging this pull request may close these issues.

2 participants