https://github.com/ntamvl/generate_ethereum_wallets
Generate Ethereum Wallets
https://github.com/ntamvl/generate_ethereum_wallets
ethereum ruby wallets
Last synced: about 2 months ago
JSON representation
Generate Ethereum Wallets
- Host: GitHub
- URL: https://github.com/ntamvl/generate_ethereum_wallets
- Owner: ntamvl
- License: mit
- Created: 2018-03-27T07:07:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-30T03:47:00.000Z (about 7 years ago)
- Last Synced: 2025-02-02T11:43:51.475Z (4 months ago)
- Topics: ethereum, ruby, wallets
- Language: Ruby
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Generate Ethereum Wallets
## Need to install
- rbenv
- Ruby 2.4.3
- Ethereum Wallets (https://github.com/ethereum/mist)## Install rbenv and Ruby 2.4.3
**on macOS:**
```bash
brew install rbenv ruby-build# Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile# Install Ruby
rbenv install 2.4.3
rbenv global 2.4.3
ruby -v
```**on Ubuntu:**
```bash
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.listsudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs yarncd
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELLgit clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELLrbenv install 2.4.3
rbenv global 2.4.3
ruby -v
```The last step is to install Bundler
```bash
gem install bundler
```
`rbenv` users need to run `rbenv rehash` after installing bundler.## How to run
**Clone source and install dependencies:**
```bash
cd
git clone https://github.com/ntamvl/generate_ethereum_wallets.git
cd generate_ethereum_wallets
bundle install
```**update `.env` config**
```
ETHER_HOME=/Users/tamnguyen/Library/Ethereum
ETHER_HOST=http://127.0.0.1:8545
MAX_WALLET_COUNT=2
WALLET_PASSWORD=your_wallet_password
```explain variable in `.env`:
- ETHER_HOME: home folder of Ethereum Wallets
- ETHER_HOST: address of ethereum jsonrpc
- MAX_WALLET_COUNT: number of wallets to generate
- WALLET_PASSWORD: wallets password**run:**
```bash
chmod +x start.sh
./start.sh
```**how to export csv:**
```bash
chmod +x export.sh
./export.sh
```Enjoy :D