File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const k = new Kiln({
3535import { Kiln } from " ../src/kiln" ;
3636const fs = require (' fs' );
3737
38- const apiSecretPath = fs .readFileSync (__dirname + ' /path_to_fireblocks_secret' , ' utf8' );
38+ const apiSecret = fs .readFileSync (__dirname + ' /path_to_fireblocks_secret' , ' utf8' );
3939
4040const k = new Kiln ({
4141 testnet: true ,
@@ -45,7 +45,7 @@ const k = new Kiln({
4545 name: ' vault1' ,
4646 provider: ' fireblocks' ,
4747 fireblocksApiKey: ' fireblocks_api_key' ,
48- fireblocksSecretKeyPath: apiSecretPath ,
48+ fireblocksSecretKey: apiSecret ,
4949 vaultAccountId: ' vault_account_id'
5050 }
5151 ],
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const f = async () => {
1212 name : 'vault1' ,
1313 provider : 'fireblocks' ,
1414 fireblocksApiKey : '53aee35e-04b7-9314-8f28-135a66c8af2c' ,
15- fireblocksSecretKeyPath : apiSecretPath ,
15+ fireblocksSecretKey : apiSecretPath ,
1616 vaultAccountId : '7'
1717 }
1818 ] ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const f = async () => {
1414 name : 'vault1' ,
1515 provider : 'fireblocks' ,
1616 fireblocksApiKey : '53aee35e-04b7-9314-8f28-135a66c8af2c' ,
17- fireblocksSecretKeyPath : apiSecretPath ,
17+ fireblocksSecretKey : apiSecretPath ,
1818 vaultAccountId : '7'
1919 }
2020 ] ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const f = async () => {
1212 name : 'vault1' ,
1313 provider : 'fireblocks' ,
1414 fireblocksApiKey : '53aee35e-04b7-9314-8f28-135a66c8af2c' ,
15- fireblocksSecretKeyPath : apiSecretPath ,
15+ fireblocksSecretKey : apiSecretPath ,
1616 vaultAccountId : '7'
1717 }
1818 ] ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export class Service {
1616 // Fireblocks integration
1717 const fireblocksIntegration = integrations ?. find ( integration => integration . provider === 'fireblocks' ) ;
1818 if ( fireblocksIntegration ) {
19- this . fbSdk = new FireblocksSDK ( fireblocksIntegration . fireblocksSecretKeyPath , fireblocksIntegration . fireblocksApiKey ) ;
19+ this . fbSdk = new FireblocksSDK ( fireblocksIntegration . fireblocksSecretKey , fireblocksIntegration . fireblocksApiKey ) ;
2020 this . fbSigner = new FbSigner ( this . fbSdk , fireblocksIntegration . vaultAccountId ) ;
2121 }
2222 }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export type FireblocksIntegration = {
44 name : string ;
55 provider : SupportedProviders ;
66 fireblocksApiKey : string ;
7- fireblocksSecretKeyPath : string ;
7+ fireblocksSecretKey : string ;
88 vaultAccountId : string ;
99} ;
1010
You can’t perform that action at this time.
0 commit comments