Skip to content

Conversation

@chedieck
Copy link
Collaborator

@chedieck chedieck commented Jan 12, 2024

Related to #774

Depends on

Description

Adds as a valid variable for setting up triggers.

Test plan

  1. Create your trigger, use a website you control or a dummy one such as https://httpbin.org/post.
  2. Make sure to include the variable in the trigger body, such as {"op": <opReturn> }
  3. Send a tx to the address with OP_RETURN=paybutton$anyDataYouWant and make sure it appears in the receiving end of the POST request e.g. {"op": 'anyDataYouWant'}

@chedieck chedieck requested a review from Klakurka January 13, 2024 02:19
@chedieck chedieck force-pushed the feat/op-return-on-triggers branch from 3860871 to c351f27 Compare January 13, 2024 04:59
Copy link
Member

@Klakurka Klakurka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really cool!

@Klakurka Klakurka merged commit c4800e4 into master Jan 13, 2024
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.

3 participants