Skip to content

Commit

Permalink
Add config
Browse files Browse the repository at this point in the history
  • Loading branch information
gRoussac committed Jan 23, 2025
1 parent 4b21ec2 commit 4eba8f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/frontend/angular/libs/util/config/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export type EnvironmentConfig = {
[key: string]: string | object | Verbosity | boolean | PricingMode;
};

const action_needs_secret_key = ['deploy', 'transfer', 'put_deploy', 'speculative_deploy', 'speculative_transfer', 'speculative_exec_deploy', 'sign_deploy', 'call_entrypoint_deploy', 'install'];
const action_needs_public_key = ['make_deploy', 'make_transfer', ...action_needs_secret_key];
const action_needs_secret_key = ['deploy', 'transfer', 'put_deploy', 'speculative_deploy', 'speculative_transfer', 'speculative_exec_deploy', 'sign_deploy', 'call_entrypoint_deploy', 'install_deploy', 'transaction', 'transfer_transaction', 'put_transaction', 'speculative_transaction', 'speculative_transfer_transaction', 'speculative_exec', 'sign_transaction', 'call_entrypoint', 'install'];
const action_needs_public_key = ['make_deploy', 'make_transfer', 'make_transaction', 'make_transfer_transaction', ...action_needs_secret_key];

export const config: EnvironmentConfig = {
wasm_asset_path: 'assets/casper_rust_wasm_sdk_bg.wasm',
Expand Down

0 comments on commit 4eba8f6

Please sign in to comment.