Запуск роутера CONNEXT

  1. Первоначально необходимо установить Docker
curl -fsSL get.docker.com -o get-docker.sh
sudo sh get-docker.sh
VERSION=$(curl — silent https://api.github.com/repos/docker/compose/releases/latest | grep -Po ‘“tag_name”: “\K.*\d’)DESTINATION=/usr/local/bin/docker-composesudo curl -L https://github.com/docker/compose/releases/download/${VERSION}/docker-compose-$(uname -s)-$(uname -m) -o $DESTINATIONsudo chmod 755 $DESTINATION
docker-compose --version
git clone https://github.com/connext/nxtp-router-docker-compose.git
cd nxtp-router-docker-compose
git checkout amarok
docker pull ghcr.io/connext/router:0.2.0-alpha.10
mv .env.example .env
mv key.example.yaml key.yaml
nano config.toml 
{
"logLevel": "debug",
"sequencerUrl": "https://sequencer.testnet.connext.ninja",
"web3SignerUrl": "http://signer:9000",
"redis": {
"host": "redis",
"port": 6379
},
"server": {
"adminToken": "abacus",
"port": 8080
},
"chains": {
"1111": {
"assets": [
{
"address": "0xB7b1d3cC52E658922b2aF00c5729001ceA98142C",
"name": "TEST"
}
],
"providers": ["https://rinkeby.infura.io/v3/b3476c4fc673421cbd73840cb108c136"]
},
"2221": {
"providers": ["https://kovan.infura.io/v3/b3476c4fc673421cbd73840cb108c136"],
"assets": [
{
"address": "0xB5AabB55385bfBe31D627E2A717a7B189ddA4F8F",
"name": "TEST"
}
]
},
"3331": {
"providers": ["https://kovan.infura.io/v3/b3476c4fc673421cbd73840cb108c136"],
"assets": [
{
"address": "0xd426e23a6a9524101cdc017e01ddc3262b7aa65d",
"name": "TEST"
}
]
}
}
}
docker-compose up -d
docker logs --follow router

--

--

Professional validator, taking part in major testnets and running mainnets.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ivan Staker

Professional validator, taking part in major testnets and running mainnets.