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.

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

3 Likes