Skip to content

feat(hive): REST endpoint POST /hive/sign-transfer for BEX/SDK clients#356

Merged
BitHighlander merged 2 commits into
developfrom
feature/hive-rest-sign
Jul 15, 2026
Merged

feat(hive): REST endpoint POST /hive/sign-transfer for BEX/SDK clients#356
BitHighlander merged 2 commits into
developfrom
feature/hive-rest-sign

Conversation

@BitHighlander

@BitHighlander BitHighlander commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Exposes the existing wallet.hiveSignTx (device-serialized Graphene transfer, fw 7.15.0+) over REST so the browser extension can sign Hive transfers the same way it signs Solana/Tron/TON.

  • Gated identically to /addresses/hive: hive_enabled flag → 403, firmware < 7.15.0 → 501
  • Registered in SIGNING_ROUTES + requiredSigningFields so the Vault approval overlay and empty-probe rejection apply (the sign-gating regression test picks it up automatically)
  • ROUTE_TO_CHAIN gets hive: 'HIVE' for activity tracking
  • Default path hiveRolePath('active', 0) when the caller omits address_n

Consumer: keepkey-client PR keepkey/keepkey-client#106 (window.hive_keychain shim).

Verification: bun build of the three touched files compiles; make test-sign-gating enumerates the new route but needs a vault restarted from this branch (the running 1646 instance predates the route — the two hive-route test failures are 404s from the stale instance). Draft until live-verified.

BitHighlander and others added 2 commits July 14, 2026 22:01
Exposes the existing wallet.hiveSignTx (device-serialized Graphene transfer,
fw 7.15.0+) over REST so the browser extension can sign Hive transfers the
same way it signs Solana/Tron/TON. Gated identically to /addresses/hive
(hive_enabled flag → 403, firmware < 7.15.0 → 501) and registered in
SIGNING_ROUTES so the Vault approval overlay + empty-probe rejection apply.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@BitHighlander BitHighlander marked this pull request as ready for review July 15, 2026 02:04
@BitHighlander BitHighlander merged commit b988ecb into develop Jul 15, 2026
1 check 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.

1 participant