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

Commits on Aug 17, 2022

  1. Configuration menu
    Copy the full SHA
    13f108f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53b07f2 View commit details
    Browse the repository at this point in the history
  3. feat(data_structures): Add redeem_script field to Input

    Co-authored-by: Luis Rubio <[email protected]>
    tmpolaczyk and lrubiorod committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    75970ea View commit details
    Browse the repository at this point in the history
  4. feat(stack): Include witnet_stack package with multiSig OPCODES and i…

    …nclude selected utxos in BuildVtt
    
    Co-authored-by: Luis Rubio <[email protected]>
    tmpolaczyk and lrubiorod committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    f5c62a9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9a2bf33 View commit details
    Browse the repository at this point in the history
  6. feat(validations): Include script validations

    Co-authored-by: Luis Rubio <[email protected]>
    tmpolaczyk and lrubiorod committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    8a8fe9e View commit details
    Browse the repository at this point in the history
  7. feat(cli): Implement createMultiSigAddress CLI method

    Co-authored-by: Luis Rubio <[email protected]>
    tmpolaczyk and lrubiorod committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    7a90e70 View commit details
    Browse the repository at this point in the history
  8. feat(cli): Implement CLI methods createOpenedMultiSig, signTransacion…

    … and Broadcast
    
    Co-authored-by: Luis Rubio <[email protected]>
    tmpolaczyk and lrubiorod committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    8105aae View commit details
    Browse the repository at this point in the history
  9. fix(validations): Handle case when there is no signatures in the witn…

    …ess field
    
    Co-authored-by: Luis Rubio <[email protected]>
    tmpolaczyk and lrubiorod committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    dea1c2e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b4fb7c0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    785964d View commit details
    Browse the repository at this point in the history
  12. feat: Allow using custom change address in sendvtt

    Co-authored-by: Luis Rubio <[email protected]>
    tmpolaczyk and lrubiorod committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    4eb8395 View commit details
    Browse the repository at this point in the history
  13. fix(tests): Fix broken tests

    Co-authored-by: Luis Rubio <[email protected]>
    tmpolaczyk and lrubiorod committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    5d8a827 View commit details
    Browse the repository at this point in the history
  14. chore: Format includes

    lrubiorod authored and tmpolaczyk committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    19e110a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e9b6b40 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4f6ab16 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    1b4bd8a View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    8fa2628 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    61bd93f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    2261313 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    1ae9db3 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    6944527 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    0295df4 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e913516 View commit details
    Browse the repository at this point in the history
  25. feat: scriptful 0.4

    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 committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    3df70a9 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4b16e47 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    7f00e25 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    e6adc69 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. Configuration menu
    Copy the full SHA
    5b8c089 View commit details
    Browse the repository at this point in the history