- start mn working
- transaction disabled and will be enabled after more testing.
- to support Dash testnet, both trezor and keepkey has only Mainnet.
- with Mainnet, no need to update firmware. Use official firmware.
- Trezor
- Keepkey
- dashmnb will not run without hw wallet
- config check (alias, address, ip, key, pkey, hw wallet path)
- start masternode missing, selected
- show masternode status
- send coins(mn payment) in hw wallet
- send collateral + coins(mn payment) in hw wallet
- ssh tunnel to use remote dashd
- can use remote rpc service
- instead of block explorer
- to check address, collateral, masternode status
- to get unspent tx of collateral
- to relay mnb and txs
- -reindex means restaring dashd or Dash-QT with -reindex option
- after initial checking of masternode config, dashmnb will ask you to do reindex
- Set up remote node(or masternode), add following to dashd.conf. check dash.conf.sample
rpcuser=dashrpc#change
rpcpassword=veryvey-long-complicatedpassword=#change
rpcallowip=127.0.0.1
rpcbind=127.0.0.1
rpcport=9998
server=1
daemon=1
logips=1
addressindex=1
spentindex=1
timestampindex=1
txindex=1
Run once with dashd/QT with -reindex, to make index
- using nginx as proxy
- lua script by https://github.com/adetante/ethereum-nginx-proxy
- need to change version checking
- use ssl by default
- add http basic auth to nginx
- change Authorization header using proxy_set_header
- rpc user name and password on config.py is only for web auth
Make sure Python version 3.5.1 or above is installed:
python3 --version
Check python install script others/linux/Debian-Raspbian-python-3.5.3-install.sh
Update system packages and ensure virtualenv is installed:
sudo apt-get update
sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
sudo apt-get install autotools-dev autoconf automake libtool
sudo apt-get -y install python3-pip git
sudo pip3 install virtualenv
Install brew and python3.5 or python3.6
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install python3 git
pip3 install virtualenv
Clone the dashmnb repo and install Python dependencies.
git clone https://github.com/chaeplin/dashmnb && cd dashmnb
virtualenv -p python3 venv3
. venv3/bin/activate
pip install --upgrade setuptools
pip install -r requirements.txt
cd dashmnb
. venv3/bin/activate
git pull
pip install --upgrade git+https://github.com/chaeplin/python-trezor
pip install --upgrade git+https://github.com/chaeplin/python-keepkey
add DASHMNB_DEBUG=1
cd dashmnb
. venv3/bin/activate
DASHMNB_DEBUG=1 python bin/dashmnb.py
To use keepkey or trezor as normal user, do following
sudo cp others/linux/51-* /etc/udev/rules.d/
- use config.sample.mainnet.remotesvc.py to use remote rpc service by chaeplin
- testing config.py : no output if config.py is ok
cd dashmnb
. venv3/bin/activate
python dashlib/config.py
cd dashmnb
. venv3/bin/activate
python bin/hw-wallet-for-mn.py
(venv3) > python bin/hw-wallet-for-mn.py
____ __
/ __ \____ ______/ /_
/ / / / __ `/ ___/ __ \
/ /_/ / /_/ (__ ) / / /
/_____/\__,_/____/_/ /_/
__ ___ __ __
/ |/ /___ ______/ /____ _________ ____ ____/ /__
/ /|_/ / __ `/ ___/ __/ _ \/ ___/ __ \/ __ \/ __ / _ \
/ / / / /_/ (__ ) /_/ __/ / / / / / /_/ / /_/ / __/
/_/ /_/\__,_/____/\__/\___/_/ /_/ /_/\____/\__,_/\___/
_ __ __ __ ___ __ _ __ ____ __
_ __(_) /_/ /_ / / / / | / / | | / /___ _/ / /__ / /_
| | /| / / / __/ __ \ / /_/ /| | /| / / | | /| / / __ `/ / / _ \/ __/
| |/ |/ / / /_/ / / / / __ / | |/ |/ / | |/ |/ / /_/ / / / __/ /_
|__/|__/_/\__/_/ /_/ /_/ /_/ |__/|__/ |__/|__/\__,_/_/_/\___/\__/
by : chaeplin
Network : MAINNET
===> trezor HW Wallet found
Use the numeric keypad to describe number positions. The layout is:
7 8 9
4 5 6
1 2 3
Please enter current PIN:
Passphrase required:
Confirm your Passphrase:
**** ====> use following address for 1K collateral of masternode
Dash address: 44'/5'/1'/0/0 XiDWe5fkVcrXBQApmCFQUxpue5iuWcbmcK
Dash address: 44'/5'/1'/0/1 XrQcbEjhncd62v58K122hzTdgdW5Z6TBmm
Dash address: 44'/5'/1'/0/2 XnSibMiJGcoQzCcku4fhR4wWNNfFBrye9h
Dash address: 44'/5'/1'/0/3 XwUXXWL5kUzJNPDAX2wjxnQYkGjJL5AGwg
......
**** ====> use following address for trezor/keepkey wallet(default path)
Dash address: 44'/5'/0'/0/0 XrqJae7jireuCgJSYL31RFiZVV4Yt4g5kX
Dash address: 44'/5'/0'/0/1 XvztPzfywBFpVEzvS9ULkdWmQAZYqUzTeE
Dash address: 44'/5'/0'/0/2 XtTTUntBxZtca2wdEbfidyDfV9SVu6TpR4
Dash address: 44'/5'/0'/0/3 XshN8cA8zsHFxxYee8SnQ8qx1iHXg6TP3s
.......
- Use output of python bin/hw-wallet-for-mn.py
-
Use trezor web wallet or keepkey rc clinet to compare address and send 1K Dash to an address of Account #2
-
Use Account #1 for daily use
-
To add Account #2, should send small amount to an address of Account #1
https://www.keepkey.com/2017/02/02/dash-now-public-beta/
3. Set up remote node(or masternode), add following to dashd.conf. check dash.conf.sample [if you want to run your own dashd/QT]
rpcuser=dashrpc#change
rpcpassword=veryvey-long-complicatedpassword=#change
rpcallowip=127.0.0.1
rpcbind=127.0.0.1
rpcport=9998
server=1
daemon=1
logips=1
addressindex=1
spentindex=1
timestampindex=1
txindex=1
dashd -reindex
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
cd dashmnb
. venv3/bin/activate
python bin/dashmnb.py