Official loopring/miner implementation of the match engine
340
Building miner requires both a Go (version 1.9.0 or later) and a C compiler. You can install them using your favourite package manager. Once the dependencies are installed, clone code form git, and run
cd $GOPATH/src/github.com/Loopring/miner && go build -ldflags -s -v -o build/bin/miner cmd/lrc/*
As an alternative to passing the numerous flags to the relay binary, you can also pass a configuration file via: --config /YOUR_CONFIG_PATH/relay.toml quick start
miner --unlocks=YOUR_MINER_ACCOUNT --passwords=YOUR_MIENR_PASSWORD --config=/opt/loopring/miner/config/miner.toml
Install docker and run
docker build -t IMAGE_NAME:TAG RELAY_SOURCE_DIR
docker run -d --name miner -v YOUR_KEYSTORE_DIR:/opt/loopring/miner/keystore -v YOUR_LOG_DIR:/opt/loopring/miner/logs -v YOUR_CONFIG_DIR:/opt/loopring/miner/config loopring/miner:v1.5.0 --unlocks=YOUR_MINER_ACCOUNT --passwords=YOUR_MIENR_PASSWORD --config=/opt/loopring/miner/config/miner.toml
ethereum node We suggest user sync blocks from mainnet for relay ethereum client. While sync finished, before relay start, make sure default_block_number in relay.toml is bigger than 4717454.
tokens.json file tokens.json file listed tokens and markets those exchanges want to support. you can combine markets like WETH-LRC
Content type
Image
Digest
Size
152.2 MB
Last updated
over 8 years ago
docker pull loopring/miner