Skip to content

Commit

Permalink
add holesky support on ethereum
Browse files Browse the repository at this point in the history
  • Loading branch information
nooxx committed Nov 6, 2023
1 parent 65cc72b commit a924a29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kilnfi/sdk",
"version": "2.5.6",
"version": "2.5.7",
"autor": "Kiln <[email protected]> (https://kiln.fi)",
"license": "BUSL-1.1",
"description": "JavaScript sdk for Kiln API",
Expand Down
1 change: 1 addition & 0 deletions src/integrations/fb_signer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ type AssetId =
'SOL_TEST'
| 'SOL'
| 'ETH_TEST3'
| 'ETH_TEST6'
| 'ETH'
| 'ATOM_COS_TEST'
| 'ATOM_COS'
Expand Down
4 changes: 2 additions & 2 deletions src/services/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a924a29

Please sign in to comment.