From 92c0b3c0f63e260c7dfbef508a4f9134dc45c7c9 Mon Sep 17 00:00:00 2001 From: Marco Walz Date: Tue, 9 Jun 2026 11:50:11 +0200 Subject: [PATCH] chore: bump chain-fusion-signer submodule to v0.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BTC sign/send fees now scale per UTXO input (one sign_with_ecdsa per input): btc_caller_sign is 74B + N×37B cycles, btc_caller_send is 95B + N×37B cycles. Update the API fees table and add an explanation of the per-input pricing model. --- .sources/VERSIONS | 2 +- .sources/chain-fusion-signer | 2 +- docs/guides/chain-fusion/chain-fusion-signer.md | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.sources/VERSIONS b/.sources/VERSIONS index 3f72cb1..e0e830e 100644 --- a/.sources/VERSIONS +++ b/.sources/VERSIONS @@ -53,7 +53,7 @@ # instead. This is expected behaviour with --depth 1 submodule init. # ------------------------------------------------------- -chain-fusion-signer v0.3.0 8cea727 +chain-fusion-signer v0.4.0 a18c52a papi v0.1.1 168bc9d ic-pub-key v1.0.1 f89fa55 icp-cli v0.2.3 caeac37 diff --git a/.sources/chain-fusion-signer b/.sources/chain-fusion-signer index 8cea727..a18c52a 160000 --- a/.sources/chain-fusion-signer +++ b/.sources/chain-fusion-signer @@ -1 +1 @@ -Subproject commit 8cea7275b5e80c375087a7cdffe6d1afb9bddbc8 +Subproject commit a18c52ae389eb6625a29433e5f41f1b146290d68 diff --git a/docs/guides/chain-fusion/chain-fusion-signer.md b/docs/guides/chain-fusion/chain-fusion-signer.md index 307537d..631ea16 100644 --- a/docs/guides/chain-fusion/chain-fusion-signer.md +++ b/docs/guides/chain-fusion/chain-fusion-signer.md @@ -233,7 +233,7 @@ OISY Wallet uses the Chain Fusion Signer as its production signing backend and s ## API fees -Fees are charged per call in cycles. Verify against the [source](https://github.com/dfinity/chain-fusion-signer/blob/main/src/signer/api/src/methods.rs) for the latest values (table reflects v0.3.0): +Fees are charged per call in cycles. Verify against the [source](https://github.com/dfinity/chain-fusion-signer/blob/main/src/signer/api/src/methods.rs) for the latest values (table reflects v0.4.0): | Method | Fee (cycles) | |--------|-------------| @@ -243,7 +243,10 @@ Fees are charged per call in cycles. Verify against the [source](https://github. | `btc_caller_balance` | 113,000,000 | | `eth_personal_sign`, `eth_sign_prehash`, `eth_sign_transaction` | 37,000,000,000 | | `generic_sign_with_ecdsa`, `schnorr_sign` | 37,000,000,000 | -| `btc_caller_send`, `btc_caller_sign` | 132,000,000,000 | +| `btc_caller_sign` | 74,000,000,000 + (inputs × 37,000,000,000) | +| `btc_caller_send` | 95,000,000,000 + (inputs × 37,000,000,000) | + +**Bitcoin sign and send fees scale with the number of UTXOs spent.** Each input requires one threshold ECDSA signature call. Pre-approve the exact amount using the formula `base + (n_inputs × 37,000,000,000)`. For example, a 2-input `btc_caller_sign` costs 148,000,000,000 cycles. Fees are set at approximately 140% of the typical call cost to cover failed-call overhead.