A PHP-based development wallet interface for interacting with multiple blockchains using the Tatum API. This application provides a user-friendly interface for creating wallets, checking balances, and managing addresses across various blockchain networks.
- Ethereum (Sepolia Testnet)
- Bitcoin (Testnet)
- Polygon (Mumbai Testnet)
- Algorand
- XRP
- Tron (Shasta Testnet)
- Create new wallets for supported blockchains
- Check account balances
- Derive addresses from xpub (where supported)
- Show private keys from mnemonics (where supported)
- View transaction history (last 5 actions per chain)
- Chain-specific warnings and requirements
- Secure API key management using environment variables
- PHP 8.0 or higher
- SQLite3 extension for PHP
- Composer for dependency management
-
Clone the repository:
git clone https://github.com/yourusername/tatum-php-devwallet.git cd tatum-php-devwallet -
Install dependencies:
composer install
-
Create a
.envfile in the root directory:cp .env.example .env
-
Edit the
.envfile and add your Tatum API key:TATUM_API_KEY=your_api_key_here
- The application uses environment variables to store sensitive information like API keys
- Never commit your
.envfile to version control - The
.envfile is included in.gitignoreto prevent accidental commits - API keys are loaded securely through environment variables
- SQLite database is used for local storage of transaction history
-
Start the PHP development server:
php -S localhost:8000
-
Open your browser and navigate to
http://localhost:8000 -
Select a blockchain from the dropdown menu
-
Use the available actions:
- Create New Wallet
- Check Balance
- Create Address from xpub (where supported)
- Show Private Key from Mnemonic (where supported)
- New XRP addresses require a minimum of 10 XRP to be activated
- Without this initial deposit, the address will not be usable
- API calls may return errors for unactivated addresses
- New TRON addresses require a minimum of 0.1 TRX to be activated
- Without this initial deposit, the address will not be usable
- API calls may return errors for unactivated addresses
- These chains do not support xpub derivation
- Private key derivation from mnemonics is not available for XRP
The application uses SQLite to store the last 5 actions for each chain. The database file (wallet_history.db) is created automatically in the root directory.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Tatum API for providing the blockchain API services
- Tailwind CSS for the UI styling