Налаштування роутера Connext

sudo apt update && sudo apt upgrade -y
sudo apt-get install ca-certificates curl gnupg lsb-release -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io -y
mkdir -p ~/.docker/cli-plugins/
curl -SL https://github.com/docker/compose/releases/download/v2.2.3/docker-compose-linux-x86_64 -o ~/.docker/cli-plugins/docker-compose
chmod +x ~/.docker/cli-plugins/docker-compose
sudo chown $USER /var/run/docker.sock
git clone https://github.com/connext/nxtp-router-docker-compose.git
cd nxtp-router-docker-compose
git checkout amarok
mv .env.example .env

nano .env
################################################################################

General configuration

ROUTER_VERSION=0.2.0-alpha.10

ROUTER_EXTERNAL_PORT=8000
GRAFANA_EXTERNAL_PORT=3008
WEB3SIGNER_HTTP_LISTEN_PORT=9000

################################################################################

Monitoring configuration

LOGDNA_KEY=
LOGDNA_TAG=

DISCORD_WEBHOOK=
{
"chains": {
"1111": {
"assets": [
{
"address": "0xB7b1d3cC52E658922b2aF00c5729001ceA98142C",
"name": "TEST"
}
],
"providers": ["https://eth-rinkeby.alchemyapi.io/v2/Bi4KoxT0rgjHsmVvMRtdY_9rwrTsdY2h", "https://rpc.ankr.com/eth_rinkeby"]
},
"2221": {
"assets": [
{
"address": "0xB5AabB55385bfBe31D627E2A717a7B189ddA4F8F",
"name": "TEST"
}
],
"providers": ["https://eth-kovan.alchemyapi.io/v2/eEcEgHdAt3fkZkRmzbaI-Sv_1Gw6OxrB"]
}
},
"logLevel": "debug",
"mnemonic": "",
"sequencerUrl": "https://sequencer.testnet.connext.ninja",
"server": { "adminToken": "blahblahblah" },
"environment": "production"
}
mv key.example.yaml key.yaml

nano ~/nxtp-router-docker-compose/key.yaml
type: "file-raw"
keyType: "SECP256K1"
privateKey: "c41a12b71d297b7bea5be41f4b752"
cd ~/nxtp-router-docker-compose
docker-compose create
docker-compose up -d
docker logs --follow --tail 100 router
docker-compose restart

--

--

--

https://github.com/Distributed-Validators-Synctems/Self-Identity/blob/main/cyberG.md

Love podcasts or audiobooks? Learn on the go with our new app.

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
cyberG

cyberG

https://github.com/Distributed-Validators-Synctems/Self-Identity/blob/main/cyberG.md

More from Medium

Annotated Bibliography for Final Project Proposal

WHO BENEFIT FROM SOLCIAL?

Crodo.io users and ambassadors are rewarded with CROD tokens at the end of each epoch.

Paranum Partners with screensguru to Strengthen the COA Ecosystem