Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saineshnakra/ethereum-wallet-generator
A Node.js API service for generating Ethereum wallet information using Express.js and various cryptocurrency libraries.
https://github.com/saineshnakra/ethereum-wallet-generator
cryptocurrency ethereum ethereum-wallet ethereum-wallet-generator expressjs javascript nodejs
Last synced: 6 days ago
JSON representation
A Node.js API service for generating Ethereum wallet information using Express.js and various cryptocurrency libraries.
- Host: GitHub
- URL: https://github.com/saineshnakra/ethereum-wallet-generator
- Owner: saineshnakra
- License: mit
- Created: 2024-05-20T00:47:33.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-20T11:20:03.000Z (6 months ago)
- Last Synced: 2024-05-21T02:18:35.766Z (6 months ago)
- Topics: cryptocurrency, ethereum, ethereum-wallet, ethereum-wallet-generator, expressjs, javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ethereum Wallet Generator API
A Node.js API service for generating Ethereum wallet information using Express.js.
## Features
- Generates a specified number of Ethereum addresses and private keys.
- Internally generates a mnemonic phrase for wallet generation.
- Built with Express.js for a robust API structure.
- Secure and optimized using industry-standard libraries.## Installation
1. Clone the repository:
```bash
git clone https://github.com/your-username/ethereum-wallet-generator.git
cd ethereum-wallet-generator
```2. Install dependencies:
```bash
npm install
```3. Create a `.env` file with the following content:
```plaintext
PORT=3000
```4. Start the server:
```bash
npm start
```## Usage
Use Postman or any API client to test the endpoint:
- **URL**: `http://localhost:3000/api/wallet/create`
- **Method**: POST
- **Body**:
```json
{
"count": 5
}
```## Example Response
```json
{
"mnemonic": "example seed phrase used for testing only please do not use this",
"wallets": [
{
"address": "0x...",
"privateKey": "0x..."
},
{
"address": "0x...",
"privateKey": "0x..."
}
// ... more wallets
]
}
```