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

Basic implementation of scripting functionality #2240

Draft
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

tmpolaczyk
Copy link
Contributor

@tmpolaczyk tmpolaczyk commented Jul 29, 2022

Continuation of #2217

Not ready for review yet, but the changes since #2217 are all in the last commit.

Fix #2221

tmpolaczyk and others added 26 commits August 17, 2022 14:52
Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
…nclude selected utxos in BuildVtt

Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
… and Broadcast

Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
…ess field

Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
…ytes

Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
Co-authored-by: Luis Rubio <l.rubiorod@gmail.com>
feat(stack): implement human friendly parser format

remove MyValue::Signature type

add tx_hash to script context

feat(cli): add decodeScript command and improve other scripting commands

Add script encode command, allow decode script from file

Add documentation to script::parse

Add commands to spendScriptUtxo and addTxWitness

Add command to calculate script address

Fix stack tests by disabling signature validation

TODO: But we use real public keys and signatures so we could enable it...
@tmpolaczyk tmpolaczyk force-pushed the scripting-0-4 branch 2 times, most recently from 7338cb5 to 3e99d3f Compare August 19, 2022 13:30
@aesedepece aesedepece added this to the 1.6.0 milestone Aug 22, 2022
@aesedepece aesedepece force-pushed the master branch 2 times, most recently from 3e8bb07 to ed5e532 Compare May 17, 2023 09:39
@aesedepece aesedepece changed the title WIP scripting Basic implementation of scripting functionality Jun 15, 2023
@aesedepece aesedepece force-pushed the master branch 3 times, most recently from d28f025 to 5bf0421 Compare January 4, 2024 17:37
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

Successfully merging this pull request may close these issues.

Improve script creation UX
3 participants