Enable Canisters to Hold ICP

Okay, I’ll test it today or tomorrow.

Tested it. There are still errors.

dfx canister call ledger_transfer canisterAddress '()'
The Replica returned an error: code 3, message: "Canister r7inp-6aaaa-aaaaa-aaabq-cai has no update method 'canisterAddress'"

It may be worth changing the dfx canister call ledger_transfer canisterAddress '()' command to dfx canister call ledger_transfer canisterAccount '()'. It seems to be working with her.
P.S. Sorry for my bad English :grinning:

1 Like

This is the issue that I’m addressing in the Invoice Canister payments flow initiative

2 Likes

Looking at the NNS ledger candid interface, it seems that there still isn’t a way to query a block if you’re using Candid/Motoko: Principal ryjl3-tyaaa-aaaaa-aaaba-cai | ic.rocks

Sorry if I’m missing something, but it seems that I still need to trust the workaround canister (ockk2-xaaaa-aaaai-aaaua-cai) in order to validate transactions on chain?

1 Like

After doing some digging, the pattern Roman describes in his Community Conversation on canisters holding ICP provides what seems to be a good method for conducting payments onchain (my use case) without querying blocks.

1 Like

I got an error. Anyon can help?

Many thanks,