https://github.com/gemsgame/crypto-wallet-js
Сrypto Wallet Js (cwj) is a special library for cryptocurrency wallets creation. You can create ethereum, bitcoin, tron wallets by commands in terminal
https://github.com/gemsgame/crypto-wallet-js
crypto crypto-wallet cryptocurrency cryptowallet wallet wallet-generator wallet-library
Last synced: 12 days ago
JSON representation
Сrypto Wallet Js (cwj) is a special library for cryptocurrency wallets creation. You can create ethereum, bitcoin, tron wallets by commands in terminal
- Host: GitHub
- URL: https://github.com/gemsgame/crypto-wallet-js
- Owner: GemsGame
- Created: 2023-05-29T13:58:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T11:36:57.000Z (over 1 year ago)
- Last Synced: 2025-03-31T11:11:12.387Z (about 2 months ago)
- Topics: crypto, crypto-wallet, cryptocurrency, cryptowallet, wallet, wallet-generator, wallet-library
- Language: JavaScript
- Homepage:
- Size: 273 KB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### How you can generate wallets? It's easy!
Copy and install this repository locally in a project.
```
npm install https://github.com/GemsGame/crypto-wallet-js.git --save
```Or copy and install globally
```
npm install https://github.com/GemsGame/crypto-wallet-js.git --global
```
#### Bitcoin```
cwj create-by-xpub --amount=1 --path=D:/bitcoin.json --xpub=xpub6CPm3dBibxZBhwuSbSPAsVV9gQeC8hvrJC8VV6zMDbicJCnevDnihF44tVejjqAzXNzFkWZN4B9jup6aGz5GJyJFVxoqTrJ1eZaSLQLuWuXcwj create-xpub --seed="duck upon hybrid cycle sport release section enough attack brother useless talk"
cwj create-seed --network=bitcoin
cwj create-by-seed --amount=1 --network=bitcoin --path=D:/bitcoin.json --seed="duck upon hybrid cycle sport release section enough attack brother useless talk"
cwj create-by-seed --amount=1 --network=bitcoin --seed="duck upon hybrid cycle sport release section enough attack brother useless talk"
cwj create-by-seed --amount=1 --network=bitcoin --path=D:/bitcoin.json
cwj create-by-seed --amount=1 --network=bitcoin
```#### Ethereum
```
cwj create --network=eth --amount=1 --path=D:/ethereum.jsoncwj create-seed --network=eth
cwj create-by-seed --amount=5 --network=eth --path=D:/seed.json --seed="topple uniform buyer renew brother aisle bubble ten ankle rebuild usage firm"
cwj create-by-seed --amount=5 --network=eth --seed="topple uniform buyer renew brother aisle bubble ten ankle rebuild usage firm"
cwj create-by-seed --amount=5 --network=eth --path=D:/seed.json
cwj create-by-seed --amount=5 --network=eth
```
#### Tron
```
cwj create --network=tron --amount=1 --path=D:/tron.jsoncwj create-seed --network=tron
cwj create-by-seed --amount=5 --network=tron --path=D:/seed.json --seed="topple uniform buyer renew brother aisle bubble ten ankle rebuild usage firm"
cwj create-by-seed --amount=5 --network=tron --seed="topple uniform buyer renew brother aisle bubble ten ankle rebuild usage firm"
cwj create-by-seed --amount=5 --network=tron --path=D:/seed.json
cwj create-by-seed --amount=5 --network=tron
```
#### Alternative use
You may to use the cwj library in the your project.
Look at the sample below```
const cwj = require('crypto-wallet-js');const seed = cwj.ethereum.createSeed();
const result = cwj.ethereum.createWalletsBySeed(seed, 1);```
The result is an object
```
{
"seed": "random chat wasp patrol stereo invite lounge match viable ordinary erode frown",
"wallets": [
{
"address": "0xAB0384e4304F02cB4B317E48E612319aFd3B0E18",
"private": "0x4f0d24e36facfaa3ce61b61f01c6546bee4b0c6d0ce46c48f3e1e9a6e96eb253"
}
]
}```