x402 icon indicating copy to clipboard operation
x402 copied to clipboard

Add Hedera support

Open se7enarianelabs opened this issue 3 months ago • 8 comments

Description

This PR introduces full Hedera network support to the X402 protocol, enabling seamless payment processing using Hedera's native HBAR currency and Hedera Token Service (HTS) tokens. The integration provides a complete suite of tools for developers to implement X402 payments on the Hedera network.

Tests

Unit Test Coverage Summary

  • Total Tests: 86 Hedera-specific tests across 4 test files
  • Test Execution: All tests passing ✅
  • Coverage Areas: RPC, Wallet, Transactions, and Client Integration

Test Suites

  • Unit Tests (86 tests)
    • RPC module tests (24 tests)
    • Wallet module tests (23 tests)
    • Transaction module tests (23 tests)
    • Client integration tests (16 tests)

Manual Testing Summary

We conducted extensive manual testing across all X402 integration points to ensure Hedera support works seamlessly with existing infrastructure. The testing covered client-side implementations, server-side middleware, facilitator services, and full-stack applications.

✅ Verified Working Integrations:

  1. HTTP Clients: Axios, Fetch
  2. Web Servers: Express, Hono, Next.js
  3. Facilitator Services: Payment settlement

Checklist

  • [X] I have formatted and linted my code
  • [X] All new and existing tests pass
  • [X] My commits are signed (required for merge) -- you may need to rebase if you initially pushed unsigned commits

se7enarianelabs avatar Oct 10 '25 13:10 se7enarianelabs

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

cb-heimdall avatar Oct 10 '25 13:10 cb-heimdall

@se7enarianelabs is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 10 '25 13:10 vercel[bot]

Excited for this integration!

microchipgnu avatar Oct 17 '25 10:10 microchipgnu

Hedera support lessgo

Ashe-Oro avatar Oct 20 '25 16:10 Ashe-Oro

This is much needed. Will be amazing to see x402 type payments working on Hedera natively!!

kpachhai avatar Oct 20 '25 16:10 kpachhai

This is desperately needed and done already? When does it go live? 🚀 🚀 🚀 🚀 Amazing work guys 👏

mgarbs avatar Oct 20 '25 20:10 mgarbs

Excited to see this blossom!

EMerchant90 avatar Oct 28 '25 16:10 EMerchant90

Description

This PR introduces full Hedera network support to the X402 protocol, enabling seamless payment processing using Hedera's native HBAR currency and Hedera Token Service (HTS) tokens. The integration provides a complete suite of tools for developers to implement X402 payments on the Hedera network.

nice work, hedera makin early moves!

prime-optimal avatar Oct 28 '25 23:10 prime-optimal