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

multi: Allow trezor ticket purchasing on testnet. #3848

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoeGruffins
Copy link
Member

Add purchaseTicketsV3 which purchases tickets using a watching only trezor wallet from a vsp with api v3. Errors if not on testnet.

Add separate payVSPFee function that will pay a tickets fee if not already paid, and throws if already paid.

Correct purchase ticket button for watching only wallets. It no longer asks for a password. Connect purchasing through trezor when isTrezor is true.

Add vsp v3 endpoints "feeaddress" and "payfee" to allowed external requests.

Change wallet/control.js to not require an unlocked wallet when signTx is false.

Add headers to OPTIONS externalRequest. These are required by CORS when making POST requests.

part of #2681

Should not be used with trezor v2.5.1 through v2.5.3 due to an unnoticed bug.

@JoeGruffins JoeGruffins force-pushed the trezorstake2 branch 2 times, most recently from 3b6dbee to 520f67b Compare December 28, 2022 07:58
@JoeGruffins JoeGruffins force-pushed the trezorstake2 branch 2 times, most recently from 30ef712 to d39b95d Compare September 2, 2024 08:35
Add purchaseTicketsV3 which purchases tickets using a watching only
trezor wallet from a vsp with api v3. Errors if not on testnet.

Add separate payVSPFee function that will pay a tickets fee if not
already paid, and throws if already paid.

Correct purchase ticket button for watching only wallets. It no longer
asks for a password. Connect purchasing through trezor when isTrezor is
true.

Add vsp v3 endpoints "feeaddress" and "payfee" to allowed external
requests.

Change wallet/control.js to not require an unlocked wallet when signTx
is false.

Add headers to OPTIONS externalRequest. These are required by CORS when
making POST requests.
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.

1 participant