Skip to content

Conversation

@azuchi
Copy link

@azuchi azuchi commented Jan 20, 2026

  1. Added starkli to .tool-versions
  2. Fixed run_script.sh
    • Added txid parameter:
      • InputData struct requires txid: u256 field
      • Added 0,0 (txid low, high) to the arguments
  3. Migrated from BlastAPI to Blockstream API BlastAPI has been discontinued.
  4. Fixed run_bitcoin_transaction.sh
    • Added txid parameter:
      • ValidateRawInput struct requires txid: u256 field
      • Added conversion of txid hex string to u256 (low, high) format
    • Fixed UTXO array format:
      • Changed from nested array format [[$AMOUNT,...]] to flat format [$AMOUNT,...]
      • Cairo's Array expects struct fields to be flattened, not wrapped in additional brackets
  • resolves #
  • follows contribution guide
  • code change includes tests

2. Migrated from BlastAPI to Blockstream API
  BlastAPI has been discontinued.
3. Fixed run_bitcoin_transaction.sh
  * Added txid parameter:
    - ValidateRawInput struct requires txid: u256 field
    - Added conversion of txid hex string to u256 (low, high) format
  * Fixed UTXO array format:
    - Changed from nested array format [[$AMOUNT,...]] to flat format [$AMOUNT,...]
    - Cairo's Array<Struct> expects struct fields to be flattened, not wrapped in additional brackets
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.

1 participant