├── LICENSE ├── README.md ├── Wallet └── stop_wallet.sh └── scripts ├── bp01_registerProducer.sh ├── bp02_stakeTokens.sh ├── bp03_voteProducer.sh ├── bp04_claimReward.sh ├── bp05_unStakeTokens.sh ├── bp06_unRegisterProducer.sh └── bp07_lastProducedTime.sh /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Cryptolions.io 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Welcome to the EOS Jungle Testnet 2 | !!! New EOS Jungles 2.0 testnet chain started.. Please visit community repository for more information: 3 | 4 | Web Site: https://jungletestnet.io 5 | 6 | Installation: https://github.com/EOS-Jungle-Testnet/Node-Installation 7 | 8 | https://github.com/EOS-Jungle-Testnet/ 9 | 10 | 11 | 12 | Old Jungle Classic Repo: 13 | https://github.com/CryptoLions/EOS-Jungle-Testnet/tree/jungle1.0 14 | 15 | 16 | by CryptoLions.io 17 | -------------------------------------------------------------------------------- /Wallet/stop_wallet.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ################################################################################ 3 | # 4 | # Scrip Created by http://CryptoLions.io 5 | # https://github.com/CryptoLions/EOS-Jungle-Testnet 6 | # 7 | ############################################################################### 8 | 9 | DIR="/opt/JungleTestnet/Wallet" 10 | 11 | if [ -f $DIR"/wallet.pid" ]; then 12 | pid=$(cat $DIR"/wallet.pid") 13 | echo $pid 14 | kill $pid 15 | rm -r $DIR"/wallet.pid" 16 | 17 | echo -ne "Stoping Wallet" 18 | 19 | while true; do 20 | [ ! -d "/proc/$pid/fd" ] && break 21 | echo -ne "." 22 | sleep 1 23 | done 24 | echo -ne "\rWallet stopped. \n" 25 | 26 | fi 27 | 28 | -------------------------------------------------------------------------------- /scripts/bp01_registerProducer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ################################################################################ 3 | # 4 | # Scrip Created by http://CryptoLions.io 5 | # For EOS Junlge testnet 6 | # 7 | # https://github.com/CryptoLions/ 8 | # 9 | ################################################################################ 10 | ACCOUNT="acryptolions" 11 | PUBKEY="EOS74wRrQt96rGaEEBNrqWNN4VBebuJGuZrECdBYqLqFCiRzvt3ja" 12 | URL="http://cryptolions.io" 13 | 14 | ./cleos.sh system regproducer $ACCOUNT $PUBKEY "$URL" -p $ACCOUNT 15 | 16 | -------------------------------------------------------------------------------- /scripts/bp02_stakeTokens.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ################################################################################ 3 | # 4 | # Scrip Created by http://CryptoLions.io 5 | # For EOS Junlge testnet 6 | # 7 | # https://github.com/CryptoLions/ 8 | # 9 | ################################################################################ 10 | FROM="acryptolions" 11 | TO="acryptolions" 12 | NET="40.0000 EOS" 13 | CPU="40.0000 EOS" 14 | 15 | 16 | ./cleos.sh system delegatebw $FROM $TO "$NET" "$CPU" -p $FROM 17 | -------------------------------------------------------------------------------- /scripts/bp03_voteProducer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ################################################################################ 3 | # 4 | # Scrip Created by http://CryptoLions.io 5 | # For EOS Junlge testnet 6 | # 7 | # https://github.com/CryptoLions/ 8 | # 9 | ################################################################################ 10 | VOTER="acryptolions" 11 | VOTEFOR="acryptolions bohdanjungle" 12 | 13 | ./cleos.sh system voteproducer prods $VOTER $VOTEFOR -p $VOTER 14 | -------------------------------------------------------------------------------- /scripts/bp04_claimReward.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ################################################################################ 3 | # 4 | # Scrip Created by http://CryptoLions.io 5 | # For EOS Junlge testnet 6 | # 7 | # https://github.com/CryptoLions/ 8 | # 9 | ################################################################################ 10 | 11 | ACCOUNT="acryptolions" 12 | 13 | ./cleos.sh system claimrewards $ACCOUNT -p $ACCOUNT 14 | -------------------------------------------------------------------------------- /scripts/bp05_unStakeTokens.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ################################################################################ 3 | # 4 | # Scrip Created by http://CryptoLions.io 5 | # For EOS Junlge testnet 6 | # 7 | # https://github.com/CryptoLions/ 8 | # 9 | ################################################################################ 10 | FROM="acryptolions" 11 | TO="acryptolions" 12 | NET="1000.0000 EOS" 13 | CPU="1000.0000 EOS" 14 | 15 | ./cleos.sh system undelegatebw $FROM $TO $NET $CPU -p $FROM 16 | -------------------------------------------------------------------------------- /scripts/bp06_unRegisterProducer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ################################################################################ 3 | # 4 | # Scrip Created by http://CryptoLions.io 5 | # For EOS Junlge testnet 6 | # 7 | # https://github.com/CryptoLions/ 8 | # 9 | ################################################################################ 10 | ACCOUNT="acryptolions" 11 | 12 | ./cleos.sh system unregprod $ACCOUNT -p $ACCOUNT 13 | -------------------------------------------------------------------------------- /scripts/bp07_lastProducedTime.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | PRODUCER="lioninjungle" 4 | TIMESTAMP="$(./cleos.sh get table eosio eosio producers -l 150 | grep $PRODUCER -A 8 | grep last_produced_block | cut -d':' -f2)" 5 | 6 | if [ "$(uname)" == "Darwin" ]; then 7 | date -d "$((($TIMESTAMP * 500 + 946684800000) / 1000))" 8 | elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then 9 | date --date "@$((($TIMESTAMP * 500 + 946684800000) / 1000))" 10 | else 11 | echo "Unsupported system" 12 | fi 13 | --------------------------------------------------------------------------------