blackjok3r
d9c1090281
|
6 years ago | |
---|---|---|
iguana/coins | 6 years ago | |
install | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
assetchains | 6 years ago | |
assetchains.json | 6 years ago | |
build_iguana | 6 years ago | |
config_example.ini | 6 years ago | |
dpowassets.py | 6 years ago | |
listassetchainparams.py | 6 years ago | |
listassetchains.py | 6 years ago | |
listclis.sh | 6 years ago | |
listcoins.sh | 6 years ago | |
m_notary_blank | 6 years ago | |
printkey.py | 6 years ago | |
splitfunds.sh | 6 years ago | |
staked.json | 6 years ago | |
start.sh | 6 years ago | |
utxosplitter.sh | 6 years ago | |
validateaddress.sh | 6 years ago |
README.md
Staked Notary Control Scripts
Install instructions
cd ~
git clone https://github.com/StakedChain/StakedNotary.git
cd StakedNotary
You need to build our special repo of komodo
thanks to @libbscott and nanomsg for iguana. Both these scripts cover all required deps on debian based distros.
cd install
./buildkomodo.sh
./installnanomsg.sh
Now you need to copy the config file and edit it with our pubkey/Raddress and WIF key for KMD.
cp config_example.ini config.ini
nano config.ini
After this we are ready to launch KMD and any chains that happen to be in assetchains.json
. If KMD is not already synced this will take many hours, I would advise syncing KMD first to make the process a bit faster.
./start.sh
Once this is done, you have all the required things to launch iguana, there are some coins files in iguana/coins
and iguana binary has been built from the SuperNET repo in your home folder and copied to iguana
folder. Also the 'staked.json' file containing all the info for the Notary Network has been fetched from github.
To start your notary node and connect to the network simply run:
./start_iguana.sh
There is one thing that notary nodes depend on more than anything else and that is the UTXO's. Once iguana has started we need to run the UTXO splitter.
./utxosplitter.sh
You also will want to put this UTXO splitter on a cron job every 15 minutes.
crontab -e
Enter this into the cron tab:
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
*/15 * * * * /home/<your_username>/scripts/utxosplitter.sh >> /home/<your_username>/utxo_split.log 2>&1