$HANA is now live on Solana! Learn more

The Autonomous Agent forInternet-Native Payments

Access paid APIs and digital resources without accounts, OAuth, or manual intervention. Hana402 handles HTTP 402 payment flows instantly on-chain.

bash — hana402
$git clone https://github.com/Hana402-xyz/hana402.git
$cd hana402 && npm install
$npm run dev
# Output
✓ Hana402 Agent initialized
✓ Wallet connected (0x71...402)
✓ Listening for HTTP 402 triggers...

Core Capabilities

Designed for machines to pay machines. Hana abstracts the complexity of crypto transactions into standard HTTP status codes.

x402 Handler

Automatically detects HTTP 402 Payment Required responses and initiates negotiation flow without breaking the application logic.

Universal Wallet

Integrated non-custodial wallet supporting SOL, USDC, and HANA. Manages gas optimization and transaction signing autonomously.

Verifiable Receipts

Every payment generates a cryptographic proof. APIs verify the signature instantly to unlock resources with zero latency.

Protocol Flow

The lifecycle of an autonomous transaction.

View x402 Protocol Specs
01. Request

Client Call

App requests a resource from a paid API endpoint via standard GET/POST.

02. Challenge

402 Response

Server blocks access and returns 402 status with invoice details in headers.

03. Settlement

Hana Pays

Agent signs transaction, broadcasts to chain, and obtains payment proof.

04. Access

Unlock

Client retries with proof. Server verifies and delivers the premium resource.

Watch Hana402 autonomously handle a payment for OpenWeatherMap's premium API in real-time

$HANA Token

Sustainable Token Economy

Hana402 features a sustainable token economy designed to create value for holders through platform fees and automatic buybacks.
Contract Address: DZdhgH4qR8pVr9tf27HVoYo3a9cKq56yZ2CkWti3pump

Fee Structure

0.95% for Non-Holders
Minimal platform fee applied to x402 service transactions
0% for Holders
Hold $HANA tokens and enjoy completely fee-free transactions forever
Buy $HANA

100% Fee Buyback

Automated value creation for holders

Every single dollar generated from platform fees is used to buy back $HANA tokens from the market, creating continuous buying pressure and value for holders.

Automated buyback mechanism
Transparent on-chain execution
Sustainable token value growth