当前位置: 首页 > 软件库 > Web3 > 开源货币/比特币 >

Valets

授权协议 Readme
开发语言 Python
所属分类 Web3、 开源货币/比特币
软件类型 开源软件
地区 不详
投 递 者 任文乐
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Valets - simple cryptocurrency wallets generator

Written in Python 3. Allow you to generate thousands of wallets in 12 different crypto currencies and save all the credentials into the usual CSV file. Can be really useful for running an ICO, building an exchange or even accepting crypto payments instead of PayPal or something.

Details

To use this software you should install and synchronize all the necessary clients. For example, if you want to generate Bitcoin addresses - install bitcoind and so on. All the instructions are listed bellow. More than that - by generating wallets with your own node, you'll have the abality to query balances for generating addresses, view ttransactions list, etc.

General scheme

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:PASSWORD@127.0.0.1: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:PASSWORD@127.0.0.1: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:PASSWORD@127.0.0.1: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:PASSWORD@127.0.0.1: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:PASSWORD@127.0.0.1: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:PASSWORD@127.0.0.1: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:PASSWORD@127.0.0.1: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:PASSWORD@127.0.0.1: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:PASSWORD@127.0.0.1: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

相关阅读

相关文章

相关问答

相关文档