Coffer is a Nextjs app designed to generate and manage cryptocurrency wallets. It supports both the generation of new wallets and the entry of existing recovery phrases of both Solana & Ethereum. It displays generated private and public keys, provides functionality to copy them to the clipboard, and includes features for showing or hiding sensitive information. Additionaly, it now supports access to solana devnet which provides balance checking and airdropping functionalities.
- Generate Wallet: Create a new wallet and view generated private and public keys.
- Import Wallet: Optionally enter an existing recovery phrase to generate keys.
- Toggle Visibility: Show or hide private keys and recovery phrases to enhance security.
- Copy to Clipboard: Easily copy private keys, public keys, and the recovery phrase.
-
Ensure you have Node.js and npm installed on your machine.
-
Clone the repository
-
Install the required dependencies by running the code below.
npm install
mnemonic
: Stores the words of the recovery phrase.blockType
: Stores the pathType(Solana/Ethereum)blockWallet
: Stores the generated private & public keys.visiblePrivateKeys
: Boolean array state to toggle the visibility of private keys.
-
Generating a Wallet:
- Generates a new mnemonic phrase and derives the corresponding seed.
- Uses the seed to generate private and public keys.
- Displays the generated keys and mnemonic phrase.
-
Importing a Wallet:
- Optionally enter a recovery phrase to derive private and public keys.
-
Visibility Toggle:
- Private keys can be toggled between visible and hidden for security.
-
Clipboard Copy:
- Provides functionality to copy private keys, public keys, and the recovery phrase to the clipboard.
-
Balance Checking:
- Allows to check balance for public keys in the solana blockchain
-
Airdropping:
- Allow users to airdrop upto 2sol every 8 hours from the solana devnet
Feel free to submit issues or pull requests. Contributions are always welcome!
This project is licensed under the MIT License.