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

Support sign unsigned tx #13

Merged
merged 85 commits into from
Jul 17, 2024
Merged

Support sign unsigned tx #13

merged 85 commits into from
Jul 17, 2024

Conversation

Lbqds
Copy link
Member

@Lbqds Lbqds commented Jan 26, 2024

Currently the ledger wallet can decode all transaction types, we use this tool to generate the instr decoder. I have tested the following scenarios:

  1. Transfer ALPH and tokens
  2. Transfer to multi-sig address
  3. Transfer to p2sh address
  4. Create a token pool, add liquidity, and swap
  5. Bridge

TODO:

  1. Add sign message instr

@Lbqds Lbqds force-pushed the support-sign-unsigned-tx branch from 33c7a35 to 8587574 Compare February 27, 2024 00:50
utils/src/buffer.rs Show resolved Hide resolved
utils/src/temp_data.rs Show resolved Hide resolved
utils/src/types/avector.rs Show resolved Hide resolved
utils/src/types/avector.rs Outdated Show resolved Hide resolved
utils/src/types/byte_string.rs Show resolved Hide resolved
utils/src/types/lockup_script.rs Outdated Show resolved Hide resolved
utils/src/types/lockup_script.rs Outdated Show resolved Hide resolved
utils/src/types/hint.rs Outdated Show resolved Hide resolved
utils/src/types/u256.rs Outdated Show resolved Hide resolved
utils/src/types/unsigned_tx.rs Show resolved Hide resolved
app/src/nvm_buffer.rs Outdated Show resolved Hide resolved
app/src/sign_tx_context.rs Outdated Show resolved Hide resolved
app/src/sign_tx_context.rs Outdated Show resolved Hide resolved
app/src/tx_reviewer.rs Outdated Show resolved Hide resolved
app/src/error_code.rs Outdated Show resolved Hide resolved
app/src/sign_tx_context.rs Outdated Show resolved Hide resolved
app/src/tx_reviewer.rs Show resolved Hide resolved
app/src/tx_reviewer.rs Outdated Show resolved Hide resolved
app/src/tx_reviewer.rs Outdated Show resolved Hide resolved
app/src/tx_reviewer.rs Outdated Show resolved Hide resolved
utils/src/buffer.rs Show resolved Hide resolved
utils/src/buffer.rs Show resolved Hide resolved
utils/src/buffer.rs Show resolved Hide resolved
utils/src/base58.rs Show resolved Hide resolved
utils/src/temp_data.rs Show resolved Hide resolved
doc/apdu.md Show resolved Hide resolved
js/package.json Show resolved Hide resolved
js/src/index.ts Show resolved Hide resolved
utils/src/decode.rs Show resolved Hide resolved
app/src/tx_reviewer.rs Show resolved Hide resolved
app/src/tx_reviewer.rs Show resolved Hide resolved
@polarker polarker merged commit 17b9d39 into master Jul 17, 2024
2 checks passed
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.

3 participants