Skip to content

Support Hints #1

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

Open
lucidLuckylee opened this issue Sep 14, 2024 · 1 comment
Open

Support Hints #1

lucidLuckylee opened this issue Sep 14, 2024 · 1 comment

Comments

@lucidLuckylee
Copy link
Contributor

We should support hints directly in the StructuredScript struct so that the chunker can provide the correct hints as input for each chunk.
This is actually very similar to BitVM/BitVM#13 but instead of an OP_PUSH opcode we support OP_HINT.

@lucidLuckylee
Copy link
Contributor Author

I am thinking it could look like this:

OP_HINT "identifier" and at runtime a dictionary for the identifiers and their values is provided. Ideally we also support non-static strings with something like OP_HINT { some_string}

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