Skip to content

feat(signing-fireblocks): make coin type configurable with backward-c…#2065

Open
HelmiTrabelsi wants to merge 2 commits into
canton-network:mainfrom
HelmiTrabelsi:custom_coin_type
Open

feat(signing-fireblocks): make coin type configurable with backward-c…#2065
HelmiTrabelsi wants to merge 2 commits into
canton-network:mainfrom
HelmiTrabelsi:custom_coin_type

Conversation

@HelmiTrabelsi

Copy link
Copy Markdown

Motivation

CC_COIN_TYPE was hardcoded to 6767 inside FireblocksHandler, making it
impossible to configure a different derivation path coin type without forking
the package. This change makes it configurable while keeping full backward
compatibility.

Changes

  • Add optional coinType?: number to FireblocksConfig and FireblocksHandler
    constructor. It defaults to CC_COIN_TYPE (6767) when omitted
  • CC_COIN_TYPE = 6767 remains exported from core-signing-lib unchanged
  • All existing call sites work without any modification

Usage

// existing — no change needed, still uses 6767
new FireblocksSigningDriver({ userApiKeys })

// new — opt in to a custom coin type
new FireblocksSigningDriver({ userApiKeys, coinType: 1234 })

…ompatible default

Signed-off-by: HelmiTrabelsi <hilmi-102@hotmail.com>
@HelmiTrabelsi HelmiTrabelsi requested a review from a team as a code owner June 29, 2026 10:05
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