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
2
Configure Network
Add HyperPaxeer to your configuration:
- Hardhat
- Foundry
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
- 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
- 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
Use Provided EVM for Development
Use Provided EVM for Development
Start with your framework’s local network for fastest iteration:Benefits:
- Instant mining
- Console logging
- Easy debugging
- Free testing
Test Thoroughly Before Deploying
Test Thoroughly Before Deploying
Follow this testing progression:
- Local network - Fast iteration, rich debugging
- Private fork or staging stack - Realistic integration conditions
- Mainnet - Production deployment
Verify Your Contracts
Verify Your Contracts
Always verify contracts on PaxScan:Benefits:
- Users can read contract source
- Direct interaction from explorer
- Builds trust
- Easier debugging
Gas Optimization
Gas Optimization
Optimize contract gas usage:
Error Handling
Error Handling
Implement comprehensive error handling:
Differences from Ethereum
While HyperPaxeer is EVM equivalent, there are a few minor differences:Block Time
Block Time
- Ethereum: ~12 seconds
- HyperPaxeer: 277 ms average
Gas Costs
Gas Costs
- Ethereum: High (varies widely)
- HyperPaxeer: Very low (99%+ cheaper)
Opcodes
Opcodes
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
- Unit Tests
- Integration Tests
- Mainnet Fork
Test individual contract functions:
test/MyContract.test.js
Security Considerations
Common Vulnerabilities
Reentrancy
Reentrancy
Use checks-effects-interactions pattern:Or use OpenZeppelin’s ReentrancyGuard:
Integer Overflow
Integer Overflow
Solidity 0.8+ has built-in overflow protection:For unchecked operations:
Access Control
Access Control
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