Skip to main content

Overview

Code examples and integration guides for building on HyperPaxeer. All examples work with standard Ethereum tools and libraries.

Wallet Connection

Connect Wallet with wagmi

React component for connecting wallets to HyperPaxeer.
WalletConnect.tsx
Make sure you’ve configured wagmi with HyperPaxeer in your wagmi-config.ts file.

Send Transactions

Send Native HPX Tokens

SendPax.tsx

Contract Interactions

Read Contract Data

TokenBalance.tsx

Event Listening

Listen to Contract Events

useTokenTransfers.ts

Complete dApp Example

Here’s a complete example of a token transfer dApp:
App.tsx

Best Practices

Always handle errors gracefully:
Show loading states for better UX:
Estimate gas before transactions:

Next Steps

Configuration

Set up your development environment

Smart Contracts

Deploy your own contracts

API Reference

Explore all available methods

Tools

Discover development tools