Skip to content

FairCrypto/go-x1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Documentation

See our docs for more information on the X1 network and how to get started.

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

Examples

Run with Xenblocks reporting enabled

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

Run an API Node (Testnet)

An API node corresponds to a full node that has the RPC server activated. To set up an API node, follow the complete node instructions mentioned earlier, but execute the process with the --http and/or --ws flags.

Examples

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 "*"

Run a Validator Node (Testnet)

See here for more information on running a validator node.

About

X1 blockchain protocol secured by the Lachesis consensus algorithm

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 97.5%
  • Python 1.9%
  • Other 0.6%