Download the PHP package nadun/eth-wallet-creator without Composer
On this page you can find all versions of the php package nadun/eth-wallet-creator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package eth-wallet-creator
Ethereum Wallet Creator for Laravel
A powerful Laravel package for generating Ethereum wallets with mnemonic seed phrase support (BIP39). This package uses a hybrid approach combining PHP and Node.js (ethers.js) for secure cryptographic operations.
Features
- ✅ Generate new Ethereum wallets with mnemonic phrases
- ✅ Restore wallets from mnemonic (12 or 24 words)
- ✅ HD Wallet support (BIP32/BIP44 derivation)
- ✅ Derive child wallets from mnemonic
- ✅ Mnemonic validation
- ✅ Laravel Facade for easy integration
- ✅ Artisan commands for CLI usage
- ✅ Secure cryptographic operations via ethers.js
Requirements
- PHP 7.3 or higher
- Laravel 8.x, 9.x, 10.x, or 11.x
- Node.js 16+ (with npm)
- Composer
Installation
1. Install via Composer
2. Install Node.js Dependencies
3. Publish Configuration (Optional)
This creates config/eth-wallet.php where you can customize settings.
Configuration
Edit config/eth-wallet.php:
Usage
Using the Facade
Generate Wallet with 24 Words
Restore Wallet from Mnemonic
Derive Child Wallets (HD Wallet)
Validate Mnemonic
Get Address from Private Key
Custom Derivation Path
Artisan Commands
Generate New Wallet
Restore from Mnemonic
Validate Mnemonic
Using in Controllers
Dependency Injection
Security Best Practices
⚠️ CRITICAL SECURITY WARNINGS
- Never expose private keys or mnemonics to clients or logs
- Always encrypt private keys before database storage
- Use Laravel's encryption:
encrypt($wallet['privateKey']) - Never commit wallets or keys to version control
- Store mnemonics securely - they control all derived wallets
- Use HTTPS for all wallet-related API endpoints
- Implement rate limiting on wallet generation endpoints
Secure Storage Example
BIP44 Derivation Paths
This package follows BIP44 standard for HD wallets:
Error Handling
Testing
Troubleshooting
"Node.js not found" Error
Set the correct Node.js path in .env:
Or in config/eth-wallet.php:
Permission Issues
Ensure the Node.js script is executable:
Advanced Usage
Batch Wallet Generation
One Mnemonic, Multiple Addresses
License
MIT License - see LICENSE file for details
Support
For issues and questions:
- GitHub Issues: https://github.com/nadun/eth-wallet-creator/issues
- Email: [email protected]
Contributing
Pull requests are welcome! Please ensure:
- Code follows PSR-12 standards
- Tests pass
- Security best practices are maintained
Credits
- Built with ethers.js
- BIP39/BIP44 implementation
- Laravel framework integration
Made with ❤️ by Nadun
All versions of eth-wallet-creator with dependencies
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
symfony/process Version ^5.0|^6.0|^7.0