moonwater / go-x1

X1 blockchain protocol secured by the Lachesis consensus algorithm

Home Page:https://xen.network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

X1 Blockchain

X1 is a simple, fast, and secure EVM-compatible network for the next generation of decentralized applications powered by Lachesis consensus algorithm.

Chain ID: 204005

Explore the Network (Testnet)

RPC Endpoints

Run Full Node (Testnet)

Quick start a full node and run in the foreground

# Install dependencies (ex: ubuntu)
apt update -y
apt install -y golang wget git make

# Clone and build the X1 binary
git clone --branch x1 https://github.com/FairCrypto/go-x1
cd go-x1
make x1
cp build/x1 /usr/local/bin

# Run the node
x1 --testnet

Run with Xenblocks reporting enabled

x1 --testnet --xenblocks-endpoint ws://xenblocks.io:6668

Run with RPC server enabled

x1 --testnet --http --http.port 8545 --ws --ws.port 8546

Run with RPC server open to the world (only run if you know what you are doing)

x1 --testnet --http --http.port 8545 --http.addr 0.0.0.0 --http.vhosts "*" --http.corsdomain "*" --ws --ws.addr 0.0.0.0 --ws.port 8546 --ws.origins "*"

About

X1 blockchain protocol secured by the Lachesis consensus algorithm

https://xen.network

License:GNU Lesser General Public License v3.0


Languages

Language:Go 99.6%Language:Solidity 0.3%Language:Makefile 0.1%