Skip to content

Conversation

janniks
Copy link
Collaborator

@janniks janniks commented Aug 29, 2022

This PR was published as an alpha to npm with the version 4.3.6-pr.16e93dc.0 — e.g. npm install @stacks/[email protected]

This adds an optional arg altRecipient to the coinbase payload builder function. If specified, a CoinbasePayloadToAltRecipient type will be created. If not specified, it will default to the regular CoinbasePayload.

Example:

const payload = createCoinbasePayload(
  coinbaseBuffer,
  altRecipient,
);

@vercel
Copy link

vercel bot commented Aug 29, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
stacksjs ✅ Ready (Inspect) Visit Preview Aug 29, 2022 at 5:32PM (UTC)

@janniks janniks changed the base branch from master to stacks-2.1 August 29, 2022 14:14
@janniks janniks linked an issue Aug 29, 2022 that may be closed by this pull request
@janniks janniks changed the title Feat/coinbase pay to alt recipient [Stacks 2.1] feat: add coinbase-pay-to-alt-recipient Aug 29, 2022
@janniks janniks force-pushed the feat/coinbase-pay-to-alt-recipient branch from e6f87d3 to ca18834 Compare August 29, 2022 15:04
@janniks janniks force-pushed the feat/coinbase-pay-to-alt-recipient branch from ca18834 to 2acea50 Compare August 29, 2022 15:07
@janniks janniks self-assigned this Aug 29, 2022
@janniks janniks force-pushed the feat/coinbase-pay-to-alt-recipient branch from 2acea50 to 235c91d Compare August 29, 2022 15:15
@codecov-commenter
Copy link

codecov-commenter commented Aug 29, 2022

Codecov Report

❗ No coverage uploaded for pull request base (stacks-2.1@5c936de). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head b3424fe differs from pull request most recent head 16e93dc. Consider uploading reports for the commit 16e93dc to get more accurate results

@@              Coverage Diff              @@
##             stacks-2.1    #1348   +/-   ##
=============================================
  Coverage              ?   65.14%           
=============================================
  Files                 ?      126           
  Lines                 ?     8868           
  Branches              ?     1922           
=============================================
  Hits                  ?     5777           
  Misses                ?     2838           
  Partials              ?      253           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@janniks janniks force-pushed the feat/coinbase-pay-to-alt-recipient branch from 235c91d to b3424fe Compare August 29, 2022 15:36
@janniks janniks requested a review from zone117x August 29, 2022 15:36
@janniks janniks marked this pull request as ready for review August 29, 2022 15:36
@janniks janniks merged commit 87971fe into stacks-2.1 Aug 30, 2022
@janniks janniks deleted the feat/coinbase-pay-to-alt-recipient branch August 30, 2022 14:30
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.

[Stacks 2.1] Support coinbase-pay-to-alt-recipient transactions
3 participants