GithubHelp home page GithubHelp logo

eos-mainnet's Introduction

Welcome to the EOS MainNet

Based on tag: mainnet-1.4.2
Network Monitor and Voting command prepering tool: EOSnetworkMonitor.io

Auto Installer script

  • in progress

Manual installation

Install EOS

mkdir /home/eos-sources  
cd /home/eos-sources  

git clone https://github.com/EOS-Mainnet/eos.git --recursive    
cd eos  

git checkout mainnet-1.4.2 
git submodule update --init --recursive   

./eosio_build.sh -s "EOS"     

Update EOS

mkdir /home/eos-sources  
cd /home/eos-sources/eos  

git checkout mainnet-1.4.2
git submodule update --init --recursive   

./eosio_build.sh -s "EOS"  

Configuring Node

  • Create data-dir folder for you node:

    mkdir /opt/EOSmainNet 
    
  • Clone all files from this repo:

    cd /opt/EOSmainNet
    git clone https://github.com/CryptoLions/EOS-MainNet.git ./ 
    
  • add execution rights

    chmod -R 777 ./*.sh   
    chmod -R 777 ./Wallet/*.sh 
    
  • If you use different data-dir folders -> edit all paths in files cleos.sh, start.sh, stop.sh, Wallet/start_wallet.sh, Wallet/stop_wallet.sh:

  • Edit in config.ini next parameters and uncomment it:

    • server address: p2p-server-address = YOUR_NODE_IP_ADDRESS:9876
    • your producer name: producer-name = YOUR_BP_NAME
    • created producer keypair: private-key = YOUR_BLOCK_SIGN_PUB_KEY=KEY:YOUR_BLOCK_SIGN_PRIV_KEY
    • replace p2p-peer-address list with fresh generated on monitor site: https://eosnodes.privex.io/?config=1
  • Open http and p2p Ports on your firewall/router

  • Connect your node, run

./start.sh  
  • Start wallet, run
./Wallet/start_wallet.sh  
  • Import your key(s)
./cleos.sh wallet import <YOUR_PRIVKEY>

First run should be with --delete-all-blocks and --genesis-json

./start.sh --delete-all-blocks --genesis-json genesis.json
  • Check if you can access you node using link http://you_server:your_http_port/v1/chain/get_info

add bp.json with info about your node:

https://github.com/eosrio/bp-info-standard

Other Tools/Examples

  • In scripts folder you can find examples how to register as producer, stake, vote, claimrewards, etc
  • You can use testnet monitor for preparing vote command: https://t.me/jungletestnet/19081
  • Cleos commands:

Send EOS

./cleos.sh transfer <your account>  <receiver account> "1.0000 EOS" "test memo text"

Get Balance

./cleos.sh get currency balance eosio.token <account name>

Create account

./cleos.sh system newaccount --stake-net "1.0000 EOS" --stake-cpu "1.0000 EOS" --buy-ram-kbytes 8 <your accountr> <new account> <pkey1> <pkey2>

List registered producers (-l )

./cleos.sh get table eosio eosio producers -l 100  

List your last action (use -h to get help, do not work now)

./cleos.sh get actions <account name>

List staked/delegated

./cleos.sh system listbw <account>   

by: CryptoLions.io
Jungle Testnet telegram channel

eos-mainnet's People

Contributors

ansigroup avatar rlaace423 avatar bitcoiners avatar

Watchers

fang qiang avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.