Jungle TestNet. Basics
Auto installation
To create a personal auto installer script, register a new manufacturer account at http://jungle.cryptolions.io/#register. Pin is the password for updating information about your node.
After registration, you will be able to download the install script install Jungle-your_producer_account_name.sh.
wget http://jungle.cryptolions.io/launchers/installJungle-your_producer_account_name.sh
chmod u + x installJungle-your_producer_account_name.sh
Before running the installation script,we recommend to check the parameters in the file install Jungle-your_producer_account_name.sh. By default, the EOS_SOURCE_DIR parameter is not specified, in this case the script will automatically download the EOS files from the https://github.com/eosio/eos source and compile into the eos-source directory. The parameter PRODUCER_PRIV_KEY - private key, which corresponds to the registered Producer Public Key, can be entered at the beginning or during the process or after installation. Running install Jungle-your_producer_account_name.sh will automatically create all the scripts and configuration files using the specified parameters and start the node.
./installJungle-your_producer_account_name.sh
During the installation you will be asked to enter a private key (if not this before). You can skip this step by pressing Enter and add the private key manually in config.ini and in your wallet (see below) and restart the node with the command
./start.sh - delete-all-blocks - genesis-json genesis.json
Information about the node can be found at the link http: // you_server: your_http_port / v1 / chain / get_info.
Manual installation
Install EOS
git clone https://github.com/eosio/eos - recursive
cd eos
git checkout v1.1.x
git submodule update - init - recursive
./eosio_build.sh -s EOS
Configuring Node
Create a folder where data will be stored:
mkdir Jungle
cd Jungle
Clone all files from the repository:
git clone https://github.com/CryptoLions/EOS-Jungle-Testnet.git ./
Add rights:
chmod +x ./*.sh
chmod +x ./Wallet/*.sh
It is mandatory to check all specified paths in files cleos.sh, start.sh, stop.sh, config.ini, Wallet/start_wallet.sh, Wallet/stop_wallet.sh.
Create key pair using command:
./cleos.sh create key
Register account by link http://jungle.cryptolions.io/#account using previosly generated Public Key.
Change parameters in config.ini:
p2p-server-address =your_node_IP_address:9876
Change parameters http-server-address and p2p-listen-endpoint
producer-name = your_producer_account_name
signature-provider =your_producer_public_key=KEY:your_producer_private_key
replace list of p2p-peer-addresses on the list which is presented by link: http://jungle.cryptolions.io/#p2p
Check it out: config.ini chain-state-db-size-mb = 8192, it can not be more than you RAM is
To disable additional checking (nodes without a domain), add to the file
config.ini this parameter:
http-validate-host = false
List of plugins:
plugin = eosio::producer_plugin
plugin = eosio::chain_plugin
plugin = eosio::chain_api_plugin
plugin = eosio::history_plugin
plugin = eosio::history_api_plugin
plugin = eosio::http_plugin
plugin = eosio::net_plugin
plugin = eosio::net_api_plugin
Before starting, change the limits for your system, add to start.sh:
ulimit -n 65535
ulimit -s 64000
./start.sh - delete-all-blocks - genesis-json genesis.json
If the node does not synchronize, do the following:
Stop node
./stop.sh
2. Go to directory with eos source
cd ../eos
3. Downgrade to version v1.1.0
git checkout v1.1.0
git submodule update - init - recursive
./eosio_build.sh -s EOS
4. Delete directory blocks/reversible
rm -rf ..Jungle/blocks/reversible
5. Turn bnet | mongo plugin off and upggrade the list of p2p-peer-addresses in config.ini
6. Do ./start.sh - replay
7. Upgrade to new wersion of eos source
In case if ./start.sh - replay или ./start.sh - hard-replay could not help, delete blocks/reversible directory and repeat ./start.sh - hard-replay.
Register producer
Create a wallet
./cleos.sh wallet create -n your_wallet_name
Unlock your wallet
./cleos.sh wallet unlock -n your_wallet_name - password your_wallet_password
Import the generated key pair that appears in the config.ini in the wallet
./cleos.sh wallet import -n your_wallet_name - private-key your_producer_private_key
Register Manufacturer
./cleos.sh system regproducer your_producer_account_name your_producer_public_key your_producer_url your_producer_location
Update EOS source
You should stop node before updating
./stop.sh
Go to directory where EOSIO is located
cd eos
git pull
git checkout v1.1.x
git submodule update - init - recursive
./eosio_build.sh -s EOS
Go to directory with Jungle Testnet and launch node again
./start.sh
Cleos
To have an opportunity do cleos commands in Jungle Testnet, you just need to setup EOS software (Install EOS).
For example
/home/eos/build/programs/cleos/cleos - url http://[node_host]:[node_port] - wallet-url http://[wallet_host]:[wallet_port] get account account_name
where http://[node_host]:[node_port] is the address of connected to Jungle Testnet node
Follow us!
Website: https://atticlab.net/eos/
Twitter: https://twitter.com/atticlab_it
Facebook: https://www.facebook.com/atticlab/
Reddit: https://www.reddit.com/r/atticlabeosb/
Steemit: https://steemit.com/eos/@attic-lab
Medium: https://medium.com/eosatticlab
Golos: https://golos.io/@atticlab
Telegram Chat: https://t.me/atticlabeosb
Telegram channel: https://t.me/eos_atticlab