Crypto-ERC is a lightweight and free PHP-based crypto API for interacting with EVM-compatible blockchains such as Ethereum, BNB Chain, Polygon, Arbitrum, Base, and many more.
It allows developers to:
- Generate wallets
- Check native coin balances
- Check token balances
- Send native coin transactions
- Send ERC20/BEP20 token transactions
- Build wallet automation tools
- Create crypto bots and Web3 integrations
Built entirely with pure PHP, this project is simple, fast, and beginner-friendly. :contentReference[oaicite:0]{index=0}
- Generate new crypto wallets
- Create:
- Wallet Address
- Private Key
- Mnemonic Phrase
- Check native coin balances
- Check ERC20 / BEP20 token balances
- Send native coin transactions
- Send ERC20 / BEP20 token transactions
- Support for 30+ EVM chains
- REST-style API endpoints
- No heavy framework required
- Works on shared hosting / cPanel
- Easy integration with bots and websites
- Ethereum
- BNB Smart Chain
- Polygon
- Arbitrum
- Optimism
- Base
- Avalanche
- Fantom
- Linea
- zkSync Era
- Scroll
- Cronos
- Gnosis
- Celo
- Harmony
- Moonbeam
- Moonriver
- Aurora
- Metis
- Kava
- Mantle
- Blast
- Manta Pacific
- X Layer
- Boba
- Fuse
- Telos
- Core DAO
- PulseChain
- Evmos
- Dogechain
- HECO
- Syscoin
- IoTeX
- WEMIX
- Palm
- ShimmerEVM
Endpoint: build.php
Generate a new wallet including:
- Wallet address
- Private key
- Mnemonic phrase
GET /build.php{
"status": "success",
"address": "0x1234567890abcdef...",
"private_key": "abcdef123456...",
"mnemonic": "apple banana river moon ..."
}Endpoint: balance.php
Returns the native coin balance of a wallet address.
| Parameter | Type | Description |
|---|---|---|
| chain | string | Blockchain network name |
| address | string | Wallet address |
GET /balance.php?chain=bnb&address=0x1234567890abcdef{
"status": true,
"chain": "bnb",
"address": "0x1234567890abcdef",
"balance": "0.5421",
"symbol": "BNB"
}Endpoint: token-balance.php
Returns the balance of an ERC20/BEP20 token.
| Parameter | Type | Description |
|---|---|---|
| chain | string | Blockchain network |
| address | string | Wallet address |
| token | string | Token contract address |
GET /token-balance.php?chain=bnb&address=0x1234567890abcdef&token=0x55d398326f99059fF775485246999027B3197955{
"status": true,
"chain": "bnb",
"wallet": "0x1234567890abcdef",
"token": "0x55d398326f99059fF775485246999027B3197955",
"symbol": "USDT",
"decimals": 18,
"balance": "25.55",
"balance_raw": "25550000000000000000"
}Endpoint: send.php
Transfer native crypto coins between wallets.
| Parameter | Type | Description |
|---|---|---|
| chain | string | Blockchain network |
| from | string | Sender wallet address |
| to | string | Receiver wallet address |
| private_key | string | Sender private key |
| amount | number | Amount to send |
GET /send.php?chain=bnb&from=0x1234567890abcdef&to=0x987654321&private_key=abcdef123456&amount=0.1{
"status": true,
"chain": "bnb",
"from": "0x1234567890abcdef",
"to": "0x987654321",
"amount": "0.1",
"tx_hash": "0x2adc377ed8d9335b5070f4578255996e97a34cf388fa181b57ec8b702bceeb27",
"symbol": "BNB"
}Endpoint: token-send.php
Transfer ERC20/BEP20 tokens between wallets.
| Parameter | Type | Description |
|---|---|---|
| chain | string | Blockchain network |
| from | string | Sender wallet address |
| to | string | Receiver wallet address |
| private_key | string | Sender private key |
| token | string | Token contract address |
| amount | number | Token amount |
GET /token-send.php?chain=bnb&from=0x1234567890abcdef&to=0x987654321&private_key=abcdef123456&token=0x55d398326f99059fF775485246999027B3197955&amount=1{
"status": true,
"chain": "bnb",
"network": "BNB Smart Chain",
"token": "0x55d398326f99059fF775485246999027B3197955",
"symbol": "USDT",
"decimals": 18,
"from": "0x1234567890abcdef",
"to": "0x987654321",
"amount": "1",
"tx_hash": "0xabc123456789"
}- PHP 7.4+
- Apache or Nginx
- cPanel / Shared Hosting Supported
- OpenSSL Enabled
- BCMath Extension Enabled
- cURL Enabled
- Blockchain RPC Endpoints
Clone the repository:
git clone https://github.com/yourusername/Crypto-ERC.gitOpen the project folder:
cd Crypto-ERCUpload files to your server or hosting.
You can now access the API endpoints directly from your browser or application.
This project is intended for:
- Learning
- Testing
- Development
- Experimental projects
Do NOT use this API in production without implementing proper security measures such as:
- Private key encryption
- Rate limiting
- IP protection
- Input sanitization
- Secure RPC providers
- Transaction verification
- Request authentication
- API key protection
Never expose private keys publicly.
- Blockchain learning
- Wallet automation
- Crypto payment systems
- Telegram crypto bots
- Web3 testing
- Crypto monitoring tools
- Balance tracking dashboards
- EVM chain integrations
This project is free and open-source.
You are free to use, modify, and distribute it.
If you like this project:
- Star the repository
- Share it with others
- Contribute improvements
Happy building π