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

Input prompt #21

Open
jb55 opened this issue Dec 20, 2017 · 1 comment
Open

Input prompt #21

jb55 opened this issue Dec 20, 2017 · 1 comment

Comments

@jb55
Copy link
Owner

jb55 commented Dec 20, 2017

Implement script_handle_input, which prompts on free variables.

For example, with a script such as:

OP_IF
    [HASHOP] <digest> OP_EQUALVERIFY OP_DUP OP_HASH160 <seller pubkey hash>            
OP_ELSE
    <num> [TIMEOUTOP] OP_DROP OP_DUP OP_HASH160 <buyer pubkey hash>
OP_ENDIF
OP_EQUALVERIFY
OP_CHECKSIG

it should prompt for input on <digest>, <seller pubkey hash> etc. otherwise, provide input via cli arguments. Maybe eventually we will have variables...

@jb55
Copy link
Owner Author

jb55 commented Dec 20, 2017

Not how well this would interact with stdin, might have to provide via cli args...

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

No branches or pull requests

1 participant