Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweak notify #1

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

tweak notify #1

wants to merge 2 commits into from

Conversation

SuddenlyHazel
Copy link
Owner

@SuddenlyHazel SuddenlyHazel commented Jun 1, 2021

Rust Example: https://gist.github.com/SuddenlyHazel/8a482f38e3e3a21811e266d32ddb83d2
Motoko Example: https://gist.github.com/SuddenlyHazel/0f0ea39d258e1d41955ccbb0c1d277cb

Example cli call on a canister with shared method "echo".

dfx canister call inter2_rs transfer '(record {to=principal "qaa6y-5yaaa-aaaaa-aaafa-cai"; notify=record{transaction_id=0; metadata="test"; callback=func "rrkah-fqaaa-aaaaa-aaaaq-cai".echo}; amount=10;})'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant