Specify local ledger canister ID for dfx

how can i tell dfx to call a custom canister id instead of the default ryjl3-tyaaa-aaaaa-aaaba-cai when i run ledger commands locally?

@Severin

1 Like

Most(all?) subcommands of dfx ledger (I just checked transfer and balance) have a flag --ledger-canister-id <canister id> that should do the trick.

1 Like