Giter Site home page Giter Site logo

isc-labs / valets Goto Github PK

View Code? Open in Web Editor NEW

This project forked from softblocksco/valets

0.0 1.0 0.0 7.8 MB

Command line wallets generator (Bitcoin, Bitcoin cash, Ethereum, Ethereum classic, Dash, Zcash, Dogecoin, Litecoin, Navcoin, Vertcoin, Reddcoin, Emercoin)

Python 100.00%

valets's Introduction

Valets - simple cryptocurrency wallets generator

Written in Python 3. Made with love inside the Revain company.

What is it?

Данный проект позволяет автоматически создавать тысячи адресов для 12 различных криптовалют. В добавок, все адреса автоматически индексируются клиентами каждой криптовалюты и можно использовать их RPC API для выяснения баланса, списка транзакций и так далее.

General scheme

⚠️ Warning ⚠️

Не рекомендуется использовать Valets в реальных целях, на данный момент проект не протестирован должным образом.

Supported currencies

Name (Coinmarketcap link) Status Volume (24h) Website For developers
Bitcoin (link) Ready 1.000.000.000 $ https://bitcoin.org/ Bitcoin-cli
Bitcoin cash (link) Ready 360.000.000 $ https://www.bitcoincash.org/ Bitcoin-cli
Ethereum (link) Ready 785.000.000 $ https://www.ethereum.org/ Geth
Ethereum classic (link) Ready 87.000.000 $ https://ethereumclassic.github.io/ Geth-classic
Litecoin (link) Ready 119.000.000 $ https://litecoin.com/ Litecoin-cli
Dash (link) Ready 23.000.000 $ https://www.dash.org/ Dash-cli
Zcash (link) Ready 27.000.000 $ https://z.cash/ Zcash-cli
Reddcoin (link) Ready 970.000 $ http://www.reddcoin.com/ Reddcoin-cli
Navcoin (link) Ready 145.000 $ https://navcoin.org/ Navcoin-cli
Vertcoin (link) Ready 550.000 $ https://vertcoin.org/ Vertcoind
Dogecoin (link) Ready 5.000.000 $ http://dogecoin.com/ Dogecoin-cli
Emercoin (link) Ready 200.000 $ http://emercoin.com/ Emercoin-cli

Install currencies clients

Bitcoin

Install

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind

Configure

bitcoind # Press CTRL+C right after launch
# All you need right now - is to init datadir

echo 'rpcuser=USERNAME' > ~/.bitcoin/bitcoin.conf
echo 'rpcpassword=PASSWORD' >> ~/.bitcoin/bitcoin.conf
echo 'rpcbind=127.0.0.1' >> ~/.bitcoin/bitcoin.conf
echo 'rpcport=8332' >> ~/.bitcoin/bitcoin.conf
echo 'server=1' >> ~/.bitcoin/bitcoin.conf
echo 'maxconnections=10' >> ~/.bitcoin/bitcoin.conf  

Run & check RPC

bitcoind -daemon

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://USERNAME:[email protected]:8332/ | python -mjson.tool

Stop

bitcoin-cli stop

Bitcoin cash

  • Bitcoin classic used as command line tool, official website is here.
  • Block explorer - link

Install

wget https://github.com/bitcoinclassic/bitcoinclassic/releases/download/v1.3.3uahf/bitcoin-1.3.3-linux64.tar.gz
tar xfz bitcoin-1.3.3-linux64.tar.gz
mv bitcoin-1.3.3 Bitcoinclassic
rm bitcoin-1.3.3-linux64.tar.gz
cd Bitcoinclassic/bin
rename 's/bitcoin/bitcoinclassic/' *
sudo cp * /usr/bin

Configure

mkdir .bitcoinclassic # Run only once, before first launch

echo 'rpcuser=USERNAME' > ~/.bitcoinclassic/bitcoin.conf
echo 'rpcpassword=PASSWORD' >> ~/.bitcoinclassic/bitcoin.conf
echo 'rpcbind=127.0.0.1' >> ~/.bitcoinclassic/bitcoin.conf
echo 'rpcport=8432' >> ~/.bitcoinclassic/bitcoin.conf
echo 'server=1' >> ~/.bitcoinclassic/bitcoin.conf
echo 'bind=0.0.0.0:9222' >> ~/.bitcoinclassic/bitcoin.conf
echo 'maxconnections=10' >> ~/.bitcoinclassic/bitcoin.conf  

Run & check

bitcoinclassicd -daemon -datadir=.bitcoinclassic/

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://USERNAME:[email protected]:8432/ | python -mjson.tool

Stop

bitcoinabc-cli stop

Ethereum

Offical guide, by ethereum.org - link

Install

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install ethereum

Configure

# No need to config anything

Run

geth --rpc --rpcaddr "127.0.0.1" --rpcport 8532 --rpcapi "admin,debug,miner,shh,txpool,personal,eth,net,web3" console

Stop

# Just type 'exit' in the Geth console

Ethereum classic

Install

wget https://github.com/ethereumproject/go-ethereum/releases/download/v3.5.86/geth-classic-linux-v3.5.0.86-db60074.tar.gz
tar xzf geth-classic-linux-v3.5.0.86-db60074.tar.gz
rm geth-classic-linux-v3.5.0.86-db60074.tar.gz
mv geth geth-classic
sudo cp geth-classic /usr/bin # Make geth-classic systemwide available

Configure

# No need to config anything

Run

geth-classic --rpc --rpcaddr "127.0.0.1" --rpcapi "admin,debug,miner,shh,txpool,personal,eth,net,web3" --rpcport 8632 --port 30304 console # Running on non-typical ports (30304 and 8632) for the purpose of collision avoidane with geth

Stop

# Just type 'exit' in the Geth-classic console

Litecoin

Install

wget https://download.litecoin.org/litecoin-0.14.2/linux/litecoin-0.14.2-x86_64-linux-gnu.tar.gz
tar xzf litecoin-0.14.2-x86_64-linux-gnu.tar.gz
rm litecoin-0.14.2-x86_64-linux-gnu.tar.gz
mv litecoin-0.14.2/ Litecoin
cd Litecoin/bin/
sudo cp * /usr/bin # Make binaries systemwide available

Configure

litecoind # Press CTRL+C right after launch
# All you need right now - is to init datadir

echo 'rpcuser=USERNAME' > ~/.litecoin/litecoin.conf
echo 'rpcpassword=PASSWORD' >> ~/.litecoin/litecoin.conf
echo 'rpcbind=127.0.0.1' >> ~/.litecoin/litecoin.conf
echo 'rpcport=8732' >> ~/.litecoin/litecoin.conf
echo 'server=1' >> ~/.litecoin/litecoin.conf
echo 'maxconnections=10' >> ~/.litecoin/litecoin.conf  

Run & check

litecoind -daemon

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://USERNAME:[email protected]:8732/ | python -mjson.tool

Stop

litecoin-cli stop

Dogecoin

Install

wget https://github.com/dogecoin/dogecoin/releases/download/v1.10.0/dogecoin-1.10.0-linux64.tar.gz
tar xzf dogecoin-1.10.0-linux64.tar.gz
rm dogecoin-1.10.0-linux64.tar.gz
mv dogecoin-1.10.0/ Dogecoin
cd Dogecoin/bin/
sudo cp * /usr/bin

Configure

dogecoind # Press CTRL+C right after launch
# All you need right now - is to init datadir

echo 'rpcuser=USERNAME' > ~/.dogecoin/dogecoin.conf
echo 'rpcpassword=PASSWORD' >> ~/.dogecoin/dogecoin.conf
echo 'rpcbind=127.0.0.1' >> ~/.dogecoin/dogecoin.conf
echo 'rpcport=8832' >> ~/.dogecoin/dogecoin.conf
echo 'server=1' >> ~/.dogecoin/dogecoin.conf
echo 'maxconnections=10' >> ~/.dogecoin/dogecoin.conf  

Run & check

dogecoind -daemon

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://USERNAME:[email protected]:8832/ | python -mjson.tool

Stop

dogecoin-cli stop

Dash

Install

wget https://www.dash.org/binaries/dashcore-0.12.1.5-linux64.tar.gz # https://www.dash.org/wallets/#linux
tar xfz dashcore-0.12.1.5-linux64.tar.gz
rm dashcore-0.12.1.5-linux64.tar.gz
mv dashcore-0.12.1/ Dash
cd Dash/bin/
sudo cp * /usr/bin # Make binaries systemwide available

Configure

echo 'rpcuser=USERNAME' > ~/.dashcore/dash.conf
echo 'rpcpassword=PASSWORD' >> ~/.dashcore/dash.conf
echo 'rpcbind=127.0.0.1' >> ~/.dashcore/dash.conf
echo 'rpcport=8932' >> ~/.dashcore/dash.conf
echo 'server=1' >> ~/.dashcore/dash.conf
echo 'maxconnections=10' >> ~/.dashcore/dash.conf  

Run & check

dashd -daemon

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://USERNAME:[email protected]:8932/ | python -mjson.tool

Stop

dash-cli stop

Zcash

Install

sudo apt-get install apt-transport-https
wget -qO - https://apt.z.cash/zcash.asc | sudo apt-key add -
echo "deb [arch=amd64] https://apt.z.cash/ jessie main" | sudo tee /etc/apt/sources.list.d/zcash.list
sudo apt-get update
sudo apt-get install zcash

Configure

zcashd # Press CTRL+C right after launch
# All you need right now - is to init datadir

echo 'rpcuser=USERNAME' > ~/.zcash/zcash.conf
echo 'rpcpassword=PASSWORD' >> ~/.zcash/zcash.conf
echo 'rpcbind=127.0.0.1' >> ~/.zcash/zcash.conf
echo 'rpcport=9032' >> ~/.zcash/zcash.conf
echo 'server=1' >> ~/.zcash/zcash.conf
echo 'maxconnections=10' >> ~/.zcash/zcash.conf  

Run & check

zcash-fetch-params # Run this code before first launch
zcashd -rescan -daemon

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://USERNAME:[email protected]:9032/ | python -mjson.tool

Stop

zcash-cli stop

Vertcoin

Install

wget https://github.com/vertcoin/vertcoin/releases/download/v0.11.1.0/vertcoin-v0.11.1.0-linux-64bit.zip
unzip vertcoin-v0.11.1.0-linux-64bit.zip
rm vertcoin-v0.11.1.0-linux-64bit.zip
mkdir Vertcoin
mv vertcoin* Vertcoin/
cd Vertcoin/
sudo cp * /usr/bin

Configure

vertcoind # Press CTRL+C right after launch
# All you need right now - is to init datadir

echo 'rpcuser=USERNAME' > ~/.vertcoin/vertcoin.conf
echo 'rpcpassword=PASSWORD' >> ~/.vertcoin/vertcoin.conf
echo 'rpcbind=127.0.0.1' >> ~/.vertcoin/vertcoin.conf
echo 'rpcport=9832' >> ~/.vertcoin/vertcoin.conf
echo 'server=1' >> ~/.vertcoin/vertcoin.conf
echo 'maxconnections=10' >> ~/.vertcoin/vertcoin.conf  

Run & check

vertcoind -daemon

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://USERNAME:[email protected]:9832/ | python -mjson.tool

Stop

ppcoind stop

Navcoin

Install

sudo apt-get install curl libcurl3
wget http://www.navcoin.org/files/navcoin-4.0.4/navcoin-4.0.4-x86_64-linux-gnu.tar.gz
tar xzf navcoin-4.0.4-x86_64-linux-gnu.tar.gz
rm navcoin-4.0.4-x86_64-linux-gnu.tar.gz
mv navcoin-4.0.4 Navcoin
cd Navcoin/bin/
sudo cp * /usr/bin

Configure

navcoind # Press CTRL+C right after launch
# All you need right now - is to init datadir

echo 'rpcuser=USERNAME' > ~/.navcoin4/navcoin.conf
echo 'rpcpassword=PASSWORD' >> ~/.navcoin4/navcoin.conf
echo 'rpcbind=127.0.0.1' >> ~/.navcoin4/navcoin.conf
echo 'rpcport=9532' >> ~/.navcoin4/navcoin.conf
echo 'server=1' >> ~/.navcoin4/navcoin.conf
echo 'maxconnections=10' >> ~/.navcoin4/navcoin.conf  

Run & check

navcoind -daemon

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://USERNAME:[email protected]:9532/ | python -mjson.tool

Stop

namecoind stop

Emercoin

Install

# Emercoin releases alavilable on Sourgeforge, so you should download it manually :(
# Link - https://sourceforge.net/projects/emercoin/?source=typ_redirect
scp emercoin-0.6.2-linux64.tar.gz username@ip:~ # Use scp if necessary, to upload archive
tar xzf emercoin-0.6.2-linux64.tar.gz
mv emercoin-0.6.2/ Emercoin
rm emercoin-0.6.2-linux64.tar.gz
cd Emercoin/bin/
sudo cp * /usr/bin

Configure

emercoind # Press CTRL+C right after launch
# All you need right now - is to init datadir

echo 'rpcuser=USERNAME' > ~/.emercoin/emercoin.conf
echo 'rpcpassword=PASSWORD' >> ~/.emercoin/emercoin.conf
echo 'rpcbind=127.0.0.1' >> ~/.emercoin/emercoin.conf
echo 'rpcport=9332' >> ~/.emercoin/emercoin.conf
echo 'server=1' >> ~/.emercoin/emercoin.conf
echo 'maxconnections=10' >> ~/.emercoin/emercoin.conf  

Run & check

emercoind -daemon

curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getinfo", "params": [] }' -H 'content-type: text/plain;' http://USERNAME:[email protected]:9332/ | python -mjson.tool

Stop

emercoin-cli stop

Reddcoin

Install

wget https://github.com/reddcoin-project/reddcoin/releases/download/v2.0.0.0/reddcoin-2.0.0.0-linux.tar.gz
tar xzf reddcoin-2.0.0.0-linux.tar.gz
rm reddcoin-2.0.0.0-linux.tar.gz
mv reddcoin-2.0.0.0-linux Reddcoin
cd Reddcoin/bin/64/
sudo cp * /usr/bin # Make binaries systemwide available

Configure

reddcoind # Press CTRL+C right after launch
# All you need right now - is to init datadir

echo 'rpcuser=USERNAME' > ~/.reddcoin/reddcoin.conf
echo 'rpcpassword=PASSWORD' >> ~/.reddcoin/reddcoin.conf
echo 'rpcbind=127.0.0.1' >> ~/.reddcoin/reddcoin.conf
echo 'rpcport=9432' >> ~/.reddcoin/reddcoin.conf
echo 'server=1' >> ~/.reddcoin/reddcoin.conf
echo 'maxconnections=10' >> ~/.reddcoin/reddcoin.conf  

Run

reddcoind -daemon

Stop

reddcoin-cli stop

Install Valets

sudo apt-get update
sudo apt-get install virtualenv git python-dev python3 python3-pip git

git clone https://github.com/Revain/Valets
cd Valets/
virtualenv --python python3 --no-site-packages venv
source venv/bin/activate
pip install -r requirements.txt

Set up crontab

@reboot bitcoind -daemon
@reboot bitcoinclassicd -daemon -datadir=.bitcoinclassic/
@reboot litecoind -daemon
@reboot dogecoind -daemon
@reboot dashd -daemon
@reboot zcashd -daemon
@reboot reddcoind -daemon
@reboot emercoind -daemon
@reboot navcoind -daemon
@reboot vertcoind -daemon

@reboot
@reboot

Run Valets

$ python Valets/ -c BTC 1000 -c LTC 1000 -c ETH 1000 -c ETC 2000
# Check every 12 currencies
$ python Valets/ -c BTC 1 -c LTC 1 -c DASH 1 -c ZEC 1 -c NAV 1 -c PCC 1 -c BCH 1 -c DOGE 1 -c EMC 1 -c RDD 1 -c ETH 1 -c ETC 1
# Generate 100 wallets per currency
$ python Valets/ -c BTC 100 -c LTC 100 -c DASH 100 -c ZEC 100 -c NAV 100 -c PCC 100 -c BCH 100 -c DOGE 100 -c EMC 100 -c RDD 100 -c ETH 100 -c ETC 100

valets's People

Contributors

pavlovdog avatar 30mb1 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.