-
Notifications
You must be signed in to change notification settings - Fork 249
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
[DRAFT] MpcContract using yields #1133
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excited to see this example, or something very similar merged into this SDK.
Great to have a reference in the examples
directory for this, which is an intriguing update to the protocol
@saketh-are what still needs to be done to this before it can be merged in? |
Very interesting addition @saketh-are ! I am missing only one piece of the puzzle in the code: How is the env::promise_yield_resume(&data_id, &serde_json::to_vec(&signature).unwrap()); linked back to the let yield_promise = env::promise_yield_create(
"sign_on_finish",
&serde_json::to_vec(&(index,)).unwrap(),
SIGN_ON_FINISH_CALL_GAS,
GasWeight(0),
DATA_ID_REGISTER,
); Because multiple users will call |
@saketh-are @DavidM-D I am working on a blogpost here:
Will try to complete the first draft tomorrow |
@gagdiez The way the example is written the |
@saketh-are that part I get it, what I don't get is:
Which part of the |
|
No description provided.