Replies: 0 comments 1 reply
-
as I understand it you are wanting to have dynamic naming in your program. lets think of these named program inputs as "named" parameters, like in python. we don't have a way of altering these during a circuit execution BUT I think maybe you could design your system so that it actually
consider the above as if you had a webservice managing signals from the frontend and injecting/uploading to the network, getting the assigned id and passing back to ui app... hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A input name on NADA lang is a static value, so whenever we create a NADA program we need to specified the name. Ex: {"A" : 10}. Instead of having to hardcode "A" as an Input name in our NADA program, like:
A = SecretInteger(Input(name="A", party=party1))
we can pass "A" to an input and use that as a variable to be use as Input name.
Ex:
A = SecretInteger(Input(name=p_name, party=party1))
Beta Was this translation helpful? Give feedback.
All reactions