Skip to content

Commit fcb1493

Browse files
authored
add holesky support on ethereum (#78)
1 parent 65cc72b commit fcb1493

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kilnfi/sdk",
3-
"version": "2.5.6",
3+
"version": "2.5.7",
44
"autor": "Kiln <[email protected]> (https://kiln.fi)",
55
"license": "BUSL-1.1",
66
"description": "JavaScript sdk for Kiln API",

src/integrations/fb_signer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ type AssetId =
1616
'SOL_TEST'
1717
| 'SOL'
1818
| 'ETH_TEST3'
19+
| 'ETH_TEST6'
1920
| 'ETH'
2021
| 'ATOM_COS_TEST'
2122
| 'ATOM_COS'

src/services/eth.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export class EthService extends Service {
8686
};
8787

8888
const fbSigner = this.getFbSigner(integration);
89-
const assetId = this.testnet ? 'ETH_TEST3' : 'ETH';
89+
const assetId = this.testnet ? 'ETH_TEST6' : 'ETH';
9090
const fbNote = note ? note : 'ETH tx from @kilnfi/sdk';
9191
const signatures = await fbSigner.signWithFB(
9292
payload,
@@ -123,7 +123,7 @@ export class EthService extends Service {
123123
};
124124

125125
const fbSigner = this.getFbSigner(integration);
126-
const assetId = this.testnet ? 'ETH_TEST3' : 'ETH';
126+
const assetId = this.testnet ? 'ETH_TEST6' : 'ETH';
127127
const fbNote = note ? note : 'ETH tx from @kilnfi/sdk';
128128
return await fbSigner.signAndBroadcastWithFB(
129129
payload,

0 commit comments

Comments
 (0)