TRMP Wallet is a secure, client-side, non-custodial web wallet for the TrumPOW (TRMP) cryptocurrency. It allows users to have full control over their private keys while interacting with the TrumPOW blockchain. All critical operations, including address generation and transaction signing, are performed locally in your browser. Your private keys are never transmitted over the network.
- Non-Custodial: You have exclusive control over your funds. Private keys are generated and stored directly on your device.
- Client-Side Operations: All cryptographic operations are performed client-side, ensuring your private information is never sent to a server.
- Secure Encrypted Storage: Private keys are AES-256 encrypted in your browser's local storage, protected by a password you set.
- Full User Privacy: No registration or personal information is required to use the wallet.
- Backend Independent: The wallet interacts with a backend indexer for blockchain data but performs all key-related tasks locally.
Security is the highest priority for TRMP Wallet. Here’s how we protect your assets:
The core principle of this wallet is that only you can access your funds. The mnemonic phrase (seed) and the derived private keys are generated and managed exclusively within your browser. We never have access to your keys.
All sensitive cryptographic functions are handled by trusted, open-source JavaScript libraries (bip39, bip32, bitcoinjs-lib) running directly in your browser. This includes:
- Generating mnemonic phrases.
- Deriving private keys and addresses.
- Signing transactions.
Your private key never leaves your device. Only the signed, public transaction is broadcast to the network.
When you create or import a wallet, your encrypted mnemonic phrase is stored in the browser's localStorage.
- Encryption: The mnemonic is encrypted using the AES-256 standard, a robust and widely-trusted encryption algorithm.
- Password Protection: The encryption key is derived from a password you set. This password is required to unlock your wallet and decrypt your keys for signing transactions. Without the password, the stored data is indecipherable.
The backend for this wallet serves as a blockchain indexer, providing transaction history and UTXO information. It has no knowledge of or access to user private keys, making it impossible for a server compromise to lead to a loss of user funds.
This project is a Next.js application built with TypeScript and Tailwind CSS.
- Node.js (v18.x or later recommended)
- yarn (as specified in
yarn.lock) - A running TrumPOW (TRMP) full node with RPC enabled.
- A running instance of the TRMP Indexer Backend.
git clone https://github.com/Forlingham/trumpow_web_wallet_next.git
cd trumpow_web_wallet_nextThis project uses yarn for package management.
yarn installOnce the dependencies are installed and the environment is configured, you can start the development server.
npm run devThe application will be available at http://localhost:3050 (or another port if 3050 is in use).
To create a production-ready build, run:
npm run buildThis will generate an optimized version of the application in the .next directory. You can then start the production server with:
npm run start