Git Product home page Git Product logo

sge's Introduction

SGE Network

The Sports, Gaming & Entertainment Network (SGE Network), is a blockchain designed to support the future of sports betting & related gaming by leveraging the modular Cosmos design. We believe the future will be heavily shaped by many of the values driving the recent wave of crypto and blockchain development: transparency, increased decentralization, and utility that benefits all stakeholders, especially the user-base.

Utilizing a sovereign blockchain uniquely enables:

  • An adaptable framework to design custom applications.
  • Enablement of features, tools and economic models where users can directly benefit from the value they help create.
  • An unparalleled level of transparency.
  • An efficiency of settlement and immediate payout to participants.

At launch, the SGE Network will be optimized to deploy an inaugural application: Six Sigma Sports, which is re-imagining the sports betting landscape and bringing a unique user experience with the benefit of blockchain technology.Please visit to learn more about Six Sigma Sports.


Hardware Requirements

  • Minimal
    • 1 GB RAM
    • 25 GB SSD
    • 1.4 GHz CPU
  • Recommended
    • 2 GB RAM
    • 100 GB SSD
    • 2.0 GHz x2 CPU

Operating System

  • Linux/Windows/MacOS(x86)
  • Recommended
    • Linux(x86_64)

Installation Steps

Prerequisite: go1.22+ required. ref

Sge could be installed by two ways - downloading binary from releases page or build from source.

Download from releases page

  • Download from release required binary

  • Check sha256 hash sum

  • Place sged into /usr/local/sbin

sudo mv sged /usr/local/sbin/sged

Building from source

Optional requirement: git. ref and GNU make. ref

  • Clone git repository
git clone https://github.com/sge-network/sge.git
  • Checkout release tag
cd sge
git fetch --tags
git checkout [vX.X.X]
  • Install
go mod tidy
make install

Install system.d service file

nano /etc/systemd/system/sged.service

Please following contents(working dir may be changed as needed)

[Unit]
Description=Sge Network node
After=network.target

[Service]
Type=simple
User=ubuntu
WorkingDirectory=/home/ubuntu
ExecStart=/usr/local/sbin/sged start
Restart=on-failure
RestartSec=10
LimitNOFILE=40960

[Install]
WantedBy=multi-user.target

Reload unit files in systemd

sudo systemctl daemon-reload

Generate keys

sged keys add [key_name]

or

sged keys add [key_name] --recover to regenerate keys with your BIP39 mnemonic

Connect to a chain and start node

  • Install sge application
  • Initialize node
sged init {{NODE_NAME}} --chain-id sgenet-1

Select network to join

  • Replace ${HOME}/.sge/config/genesis.json with the genesis file of the chain.
  • Add persistent_peers or seeds in ${HOME}/.sge/config/config.toml
  • Start node
sged start

Network Compatibility Matrix

Version Mainnet Testnet SDK Version
v1.7.0 โœ“ โœ“ v0.47.10

Active Networks

Mainnet

  • sgenet-1

  • Place the genesis file with the genesis file of the chain.

wget https://github.com/sge-network/networks/blob/master/mainnet/sgenet-1/genesis.json -O ~/.sge/config/genesis.json

Verify genesis hash sum

sha256sum ~/.sge/config/genesis.json

Correct sha256 sum for sgenet-1 genesis file is 3beb0662ade1ad80d41d992bb196770d53a939863c1fed12fa01411dfb981e0b

  • Add persistent_peers or seeds in ${HOME}/.sge/config/config.toml
sed -i 's\persistent_peers = ""\persistent_peers = "[email protected]:26656,[email protected]:26656,[email protected]:17756,[email protected]:36656,[email protected]:17756,[email protected]:17756,033d3698baf8488429cf2af86ce7d7ad81780a39@[2001:bc8:702:1841::226]:26656,[email protected]:26656,[email protected]:16656,[email protected]:26656,[email protected]:26656,[email protected]:11156"\g' $HOME/.sge/config/config.toml
  • Start node
sged start --minimum-gas-prices [desired-gas-price(ex. 0.001usge)]

Testnet

  • sge-network-4

  • Place the genesis file with the genesis file of the chain.

wget https://github.com/sge-network/networks/blob/master/testnet/sge-network-4/genesis.json -O ~/.sge/config/genesis.json

Verify genesis hash sum

sha256sum ~/.sge/config/genesis.json

Correct sha256 sum for sge-network-4 genesis file is caa7f15bab24a87718bff96ffeee058373154f7701a1e8977fff46d2f620dbcb

  • Add persistent_peers or seeds in ${HOME}/.sge/config/config.toml
sed -i 's\persistent_peers = ""\persistent_peers = "[email protected]:26656,[email protected]:20656,[email protected]:26656,[email protected]:26656,1e5f1fa5725ab5e09209b7935c6ea3f57b2711ed@[2a01:4f9:1a:9462::3]:26656,[email protected]:26656,[email protected]:26656,[email protected]:56656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:17756,[email protected]:26656,[email protected]:17256,[email protected]:26656"\g' $HOME/.sge/config/config.toml
  • Start node
sged start

Initialize a new chain and start node

  • Initialize: sged init [node_name] --chain-id [chain_name]
  • Add key for genesis account sged keys add [genesis_key_name]
  • Add genesis account sged add-genesis-account [genesis_key_name] 1000000000usge
  • Create a validator at genesis sged gentx [genesis_key_name] 500000000usge --chain-id [chain_name]
  • Collect genesis transactions sged collect-gentxs
  • Start node sged start --minimum-gas-prices [desired-gas-price(ex. 0.001usge)]

Reset chain

rm -rf ~/.sge

Shutdown node

killall sged

Check version

sged version

Documentations

For the most up-to-date documentation please visit Gitbook

sge's People

Contributors

scorpioborn avatar 3eyedraga avatar p-u-d-g-e avatar dependabot[bot] avatar waaiifu avatar matveysysun avatar reeves89 avatar nidoqueen1 avatar deepsource-autofix[bot] avatar soniabhishek avatar saisunkari19 avatar veloci-raptor avatar brunnhilde15 avatar furiouslyfast avatar coeusd avatar faultytolly avatar h4rpy-eagle avatar adnanekhan avatar alexanderntk 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.