A RESTful API built with Node.js, Express, tronweb, and ethers for managing wallet, transaction, and balance.
- Create Tron/Ethereum Wallet
- View Transactions using address
- View Balance
- Node.js + Express β Backend server
- tronweb β Tron Wallet
- ethers β Ethereum Wallet
- Dotenv β Environment config
git clone https://github.com/akashpawar43/Blockchain-Wallet.git
cd Blockchain-Walletnpm install
PORT=3000
# Ethereum
ETH_RPC=https://mainnet.infura.io/v3/your_key # or Alchemy / other provider
ETH_CHAIN_ID=1
# Tron
TRON_FULLNODE=https://api.trongrid.io
TRON_SOLIDITY_NODE=https://api.trongrid.io
TRON_EVENT_NODE=https://api.trongrid.io
# Optional: a default private key for testing (DO NOT USE MAINNET KEY IN PROD)
DEFAULT_PRIVATE_KEY=0x...your_test_private_key_here
npm run dev