Skip to main content

Overview

This guide explains the basics of HyperPaxeer development. HyperPaxeer is EVM equivalent, meaning it runs the same EVM as Ethereum. Therefore, the differences between Paxeer development and Ethereum development are minimal.
HyperPaxeer Chain ID: 125

HyperPaxeer Endpoints

To access HyperPaxeer, you need an RPC endpoint:

Network Information

Development Workflow

1

Set Up Your Environment

Choose your development framework:
  • Hardhat - Most popular, great for testing
  • Foundry - Fast, Solidity-native testing
  • Remix - Browser-based, no setup
2

Configure Network

Add HyperPaxeer to your configuration:
hardhat.config.js
3

Write Smart Contracts

Write Solidity contracts as you would for Ethereum:
contracts/MyContract.sol
4

Test Locally

Test with your framework’s local network:
5

Deploy to Paxeer

Deploy to HyperPaxeer:
6

Verify Contract

Verify your contract on PaxScan:

Development Frameworks

Hardhat

Industry-standard Ethereum development environment with excellent testing framework.
Installation
Key Features:
  • Built-in testing with Mocha & Chai
  • Console.log debugging in Solidity
  • Mainnet forking
  • TypeScript support
  • Plugin ecosystem

Hardhat Documentation

Complete Hardhat guides and reference

Foundry

Blazing fast Ethereum toolkit written in Rust with Solidity-based testing.
Installation
Key Features:
  • Extremely fast test execution
  • Solidity-native tests
  • Fuzzing support
  • Gas snapshots
  • Fork testing

Foundry Documentation

The Foundry Book

Remix IDE

Browser-based IDE for quick prototyping and learning. Access: remix.ethereum.org Key Features:
  • No installation required
  • Visual debugger
  • Built-in compiler
  • Direct MetaMask integration
  • Plugin support

Interacting with Contracts

Using ethers.js

Using wagmi (React)

Best Practices

Start with your framework’s local network for fastest iteration:
Benefits:
  • Instant mining
  • Console logging
  • Easy debugging
  • Free testing
Follow this testing progression:
  1. Local network - Fast iteration, rich debugging
  2. Private fork or staging stack - Realistic integration conditions
  3. Mainnet - Production deployment
Always verify contracts on PaxScan:Benefits:
  • Users can read contract source
  • Direct interaction from explorer
  • Builds trust
  • Easier debugging
Optimize contract gas usage:
Implement comprehensive error handling:

Differences from Ethereum

While HyperPaxeer is EVM equivalent, there are a few minor differences:
  • Ethereum: ~12 seconds
  • HyperPaxeer: 277 ms average
Impact: Faster confirmations, more frequent events
  • Ethereum: High (varies widely)
  • HyperPaxeer: Very low (99%+ cheaper)
Impact: More economical to run complex operations
All standard EVM opcodes are supported. HyperPaxeer is fully EVM equivalent.

Contract Examples

Simple Storage

SimpleStorage.sol

ERC-20 Token

MyToken.sol

NFT Contract

MyNFT.sol

Development Tools

Hardhat

Most popular Ethereum development framework

Foundry

Fast, modern Ethereum toolkit

Remix

Browser-based Solidity IDE

OpenZeppelin

Secure contract libraries

Frontend Integration

Next.js + wagmi Template

app/page.tsx

Testing Strategies

Test individual contract functions:
test/MyContract.test.js

Security Considerations

Security Checklist:
  • Use latest Solidity version (0.8.20+)
  • Import from OpenZeppelin for standards
  • Implement access control
  • Validate all inputs
  • Use SafeMath (built-in 0.8+)
  • Check for reentrancy vulnerabilities
  • Test edge cases
  • Get professional audit for high-value contracts

Common Vulnerabilities

Use checks-effects-interactions pattern:
Or use OpenZeppelin’s ReentrancyGuard:
Solidity 0.8+ has built-in overflow protection:
For unchecked operations:
Properly restrict sensitive functions:

Resources & Tools

Block Explorer

Verify contracts and track transactions

Faucet

Get test HPX tokens

Gas Tracker

Monitor current gas prices

Example Projects

Starter Kit

Complete dApp starter template

Token Example

ERC-20 token implementation

NFT Example

ERC-721 NFT implementation

DeFi Example

DeFi protocol integration

Next Steps

Testing Apps

Learn testing best practices

Transaction Guides

Master transaction handling

Examples

View complete code examples

Tools

Explore development tools