Payment examples?

Hi can anyone point me to a simple payment example? e.g. sending DFN to a canister.

3 Likes

hey @deagol, the native tokens haven’t been included into the sdk yet. but you could look at this :slight_smile:

6 Likes

If you’re looking for a minimalistic token payment example, then checkout: https://github.com/enzoh/motoko-token

6 Likes

where can i find a document about how to Integration with wallet

Hi bitcodernull, further info and documentation for managing ICP tokens, cycles, and charging canisters etc. will all follow soon. There will likely be some announcements on this so we’ll keep you posted.

1 Like

There are some primitives provided in the Rust CDK, but they aren’t very well documented at this point.

3 Likes

I’m specifically curious to know if hardware wallets will be supported by mainnet launch. I wouldn’t think all users would be expected to hold all their private keys directly on their computers.

1 Like

I do believe they will be. I agree on the need for these or YubiKeys etc.

1 Like