Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add holesky support on ethereum #78

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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