A powerful, enterprise-grade cryptocurrency transaction server that communicates directly with blockchain cores. Supporting 11+ major cryptocurrencies with real-time transaction monitoring, wallet management, and WebSocket API.
- πͺ Multi-Currency Support: Bitcoin, Ethereum, Ripple, Dash, Dogecoin, Litecoin, Qtum, DigiByte, MonaCoin, Vertcoin, BlackCoin
- β‘ Real-time Monitoring: Live transaction tracking with WebSocket API
- π Secure Wallet Management: Generate, manage, and monitor cryptocurrency wallets
- π RESTful API: Complete HTTP API for all cryptocurrency operations
- π Rate Synchronization: Real-time cryptocurrency exchange rates
- π Auto-transactions: Automated transaction processing with callbacks
- ποΈ MongoDB Integration: Persistent storage for wallets and transactions
- π Health Monitoring: Real-time system health and performance metrics
- π§ Docker Support: Easy deployment with containerization
- π Comprehensive Documentation: Detailed API documentation with examples
- Cryptocurrency Exchanges: Backend infrastructure for trading platforms
- Payment Gateways: Accept multiple cryptocurrencies in your applications
- DeFi Applications: Build decentralized finance solutions
- Wallet Services: Create multi-currency wallet applications
- Trading Bots: Automated cryptocurrency trading systems
- Analytics Platforms: Real-time blockchain data analysis
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β HTTP API β β WebSocket API β β Core Clients β
β Express.js β β Real-time β β BTC, ETH, XRP β
βββββββββββββββββββ ββββββββββββββββββββ βββββββββββββββββββ
β β β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β Currency Manager β
β (Multi-currency Handler) β
βββββββββββββββββββββββββ¬ββββββββββββββββββββββββ
β
βββββββββββββββββββββββββΌββββββββββββββββββββββββ
β MongoDB β
β (Wallets & Transactions) β
βββββββββββββββββββββββββββββββββββββββββββββββββ
- Node.js >= 14.0.0
- MongoDB >= 4.0
- Cryptocurrency node clients (Bitcoin Core, Geth, etc.)
# Clone the repository
git clone https://github.com/tikajhq/crypto-core.git
cd crypto-core
# Install dependencies
npm install
# Configure your settings
cp configs/defaults.js configs/$(hostname).js
# Edit the configuration file with your settings
# Start the server
npm start# Build the image
docker build -t crypto-core .
# Run with docker-compose
docker-compose up -dGET /api/listReturns supported currencies with current rates and wallet addresses.
GET /api/{currency}/send?to={address}&amount={amount}&tag={memo}Send cryptocurrency to a specified address.
GET /api/{currency}/generate_wallet?save=1Generate a new wallet for the specified currency.
GET /api/{currency}/balance?address={wallet_address}Check balance of a cryptocurrency wallet.
Connect to real-time updates:
const ws = new WebSocket('ws://localhost:3000');
ws.on('message', (data) => {
const message = JSON.parse(data);
if (message.type === 'confirmed_tx') {
console.log('New confirmed transaction:', message.data);
}
});| Currency | Symbol | RPC Port | Status |
|---|---|---|---|
| Bitcoin | BTC | 8332 | β Active |
| Ethereum | ETH | 8545 | β Active |
| Ripple | XRP | 5005 | β Active |
| Dash | DASH | 9998 | β Active |
| Dogecoin | DOGE | 22555 | β Active |
| Litecoin | LTC | 9332 | β Active |
| Qtum | QTUM | 3889 | β Active |
| DigiByte | DGB | 14022 | β Active |
| MonaCoin | MONA | 9402 | β Active |
| Vertcoin | VTC | 5888 | β Active |
| BlackCoin | BLK | 15715 | β Active |
Create a configuration file for your environment:
// configs/production.js
module.exports = {
AVAILABLE_CURRENCIES: ["btc", "eth", "xrp", "dash", "doge"],
DATABASE_SYSTEM: "cryptocore",
currencies: {
btc: {
core_host: "localhost",
core_port: 8332,
fees: [0.0002],
wallets: [
{ address: "your-btc-address" }
]
}
// Add other currencies...
}
};npm testnpm run docsWe welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Throughput: 10,000+ transactions per minute
- Latency: <100ms average response time
- Uptime: 99.9% availability
- Scalability: Horizontal scaling support
- Private key encryption
- Rate limiting
- Input validation
- Secure RPC connections
- MongoDB security best practices
β οΈ Security Notice: All sensitive passwords and credentials in this repository have been redacted with[REDACTED]for security purposes. You must configure your own secure credentials before deployment.
Built-in health monitoring provides:
- Transaction throughput metrics
- System resource usage
- Blockchain synchronization status
- Error rate tracking
- High Availability: Multi-node deployment support
- Load Balancing: Distributed transaction processing
- Monitoring: Comprehensive logging and metrics
- Backup: Automated database backups
- Support: Professional support available
This project is licensed under a Non-Commercial License - see the LICENSE file for details.
- β Free for: Personal use, education, research, open-source projects
- β Requires commercial license for: Business use, commercial products, paid services
- π§ Commercial licensing: Contact [email protected] for commercial use rights
Note: This ensures the project remains free for the community while supporting sustainable development for commercial applications.
If this project helped you, please give it a β on GitHub!
Built with β€οΈ for the cryptocurrency community by Madhurendra Sachan