Skip to content

Conversation

@jadonamite
Copy link

Description

This PR adds Module 30: Bitcoin Logic by @jadonamite. It details the architecture for automating Stacks contract execution based on Bitcoin OP_RETURN events using Chainhooks.

Content Overview

  • The Gap: Addressing the passive nature of smart contracts.
  • The Listener: Configuring Chainhook YAML to scan for OP_RETURN patterns.
  • The Relay: A Node.js pattern for receiving webhooks and broadcasting Stacks transactions.

Checklist

  • Chainhook YAML syntax validated against latest Hiro docs.
  • Security considerations for the Relayer pattern discussed.
  • Formatting follows the repository's style guide.

Related Issues

Closes # (If applicable)

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.

2 participants