Add Hive scheme specification for x402#1330
Open
feruzm wants to merge 6 commits intox402-foundation:mainfrom
Open
Add Hive scheme specification for x402#1330feruzm wants to merge 6 commits intox402-foundation:mainfrom
feruzm wants to merge 6 commits intox402-foundation:mainfrom
Conversation
🟡 Heimdall Review Status
|
|
@feruzm is attempting to deploy a commit to the Coinbase Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Hi @Must-be-Ash! Could you guide me on what are the next steps to get this reviewed, please? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add Hive blockchain support to the x402
exactscheme specification, including the currentv1flow and the implementedv2wire format.Hive is a delegated-proof-of-stake blockchain with zero-fee transactions and a native stablecoin (HBD, pegged to $1 USD). This makes it well suited for x402 micropayments: no gas costs, ~3 second finality, and no token approval steps.
This PR adds:
specs/schemes/exact/scheme_exact_hive.md- full Hiveexactscheme specification covering payload structure, verification logic (secp256k1 signature recovery against on-chain active key authorities), settlement logic (direct transaction broadcast), andv2wire-format documentationuptoscheme text to clarify versioned payment amount field semanticsuptospec draft, scoped asv1only and explicitly not claiming current implementation supportA TypeScript reference implementation for Hive
exactis available at@hiveio/x402(source), and a public facilitator is live at https://x402.ecency.com.Tests
This PR is specification-only (no code changes to the x402 codebase).
Hive
exactbehavior is exercised in the reference implementation at ecency/hive-x402, including:Checklist