Skip to content

feat(ton): clear-signing fields and memo support#98

Closed
BitHighlander wants to merge 2 commits intomasterfrom
feat/ton-clear-signing
Closed

feat(ton): clear-signing fields and memo support#98
BitHighlander wants to merge 2 commits intomasterfrom
feat/ton-clear-signing

Conversation

@BitHighlander
Copy link
Collaborator

Summary

  • to_address, amount, seqno, expire_at, memo fields on TonSignTx
  • All fields optional — backward compatible with blind-sign mode
  • memo nanopb max_size:121
  • Added messages-ton.proto to package build scripts

Enables firmware v4r2 body cell hash verification for clear-sign UX.
Device reconstructs unsigned body cell, verifies hash matches raw_tx.

Files

  • messages-ton.proto — new optional fields + mode documentation
  • messages-ton.options — memo size limit
  • package.json — build script updated

Firmware dependency

Unblocks keepkey/keepkey-firmware TON support (7.14.0)

Test plan

  • protoc compiles cleanly
  • npm run build succeeds and emits TON types
  • Backward compatible (existing TonSignTx with only raw_tx still works)

- to_address, amount, memo fields on TonSignTx
- Enables firmware v4r2 body cell hash verification
- memo max_size nanopb option
@BitHighlander
Copy link
Collaborator Author

Superseded by combined PR #100 for simpler review and merge.

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