From a924a2959175f95c9464bfb03c22ec94f75ba0f7 Mon Sep 17 00:00:00 2001 From: Arno Simon Date: Mon, 6 Nov 2023 11:29:48 +0100 Subject: [PATCH] add holesky support on ethereum --- package.json | 2 +- src/integrations/fb_signer.ts | 1 + src/services/eth.ts | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 12cb601..69ed874 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kilnfi/sdk", - "version": "2.5.6", + "version": "2.5.7", "autor": "Kiln (https://kiln.fi)", "license": "BUSL-1.1", "description": "JavaScript sdk for Kiln API", diff --git a/src/integrations/fb_signer.ts b/src/integrations/fb_signer.ts index bba3d18..4f49cea 100644 --- a/src/integrations/fb_signer.ts +++ b/src/integrations/fb_signer.ts @@ -16,6 +16,7 @@ type AssetId = 'SOL_TEST' | 'SOL' | 'ETH_TEST3' + | 'ETH_TEST6' | 'ETH' | 'ATOM_COS_TEST' | 'ATOM_COS' diff --git a/src/services/eth.ts b/src/services/eth.ts index c55d93f..f286834 100644 --- a/src/services/eth.ts +++ b/src/services/eth.ts @@ -86,7 +86,7 @@ export class EthService extends Service { }; const fbSigner = this.getFbSigner(integration); - const assetId = this.testnet ? 'ETH_TEST3' : 'ETH'; + const assetId = this.testnet ? 'ETH_TEST6' : 'ETH'; const fbNote = note ? note : 'ETH tx from @kilnfi/sdk'; const signatures = await fbSigner.signWithFB( payload, @@ -123,7 +123,7 @@ export class EthService extends Service { }; const fbSigner = this.getFbSigner(integration); - const assetId = this.testnet ? 'ETH_TEST3' : 'ETH'; + const assetId = this.testnet ? 'ETH_TEST6' : 'ETH'; const fbNote = note ? note : 'ETH tx from @kilnfi/sdk'; return await fbSigner.signAndBroadcastWithFB( payload,