GOATNetwork / genesis-ceremony

0 stars 0 forks source link

Prepare bootnodes for mainnet #4

Open anvztor opened 3 days ago

anvztor commented 3 days ago

Steps to create a boot node key

Spin up an AWS ec2 and associate an EIP for it

You can choose x86 or arm instances for it, 16G RAM is required, e.g. m5.xlarge, m7g.xlarge and m8g.xlarge

Installation

  1. Install docker
  2. Mount an EBS to /data
  3. Update security groups
Port Description Protocol Source
30303 goat-geth P2P UDP 0.0.0.0/0
30303 goat-geth p2p TCP 0.0.0.0/0
26656 goat p2p Port TCP 0.0.0.0/0

Create p2p key for goat-geth

$ docker run --rm -v /data/geth/geth:/geth -w /geth ethereum/client-go:alltools-stable bootnode -genkey nodekey -writeaddress
b5a5c0b2052b35a1802345b1ab31c1b24f8c33f647aeb4cab701259d41f723a61a9998099e07a233c1f80d278f0ce66542405fa1596a5cfc8e1a1a763acc70f3

the baa...0f3 your node public key Create p2p key for goat

Get the node pubkey

$ docker run --rm -v /data/goat:/root/.goat ghcr.io/goatnetwork/goat:v0.1.1 comet show-node-id
dcc947cf646aa3b937fa27e3e1f7647c17109e96

the dcc...96 is your node public key

Comment the public keys and you EIP here

Bootnode precheck

docker run --rm -v /data/geth/geth:/geth -w /geth ethereum/client-go:alltools-stable bootnode -nodekey nodekey -writeaddress
docker run --rm -v /data/goat:/root/.goat ghcr.io/goatnetwork/goat:v0.1.1 comet show-node-id
curl checkip.amazonaws.com
eigmax commented 3 days ago

ZKM

3.14.116.76

goat: 852bbdcd424a6072133fbf1089080fe0f98f8e2a

Geth: c32ed98a51343e96dd7f2c6efdc8f621bc98d44e7350647b7d6d0f8aac27a89614f8f7b266f5d26619792da751b30ab3181e6b85655b7af3fa3853c040a2ff04

bossyuansu commented 2 days ago

6b013c7e07430ff060fa6b570daa556fbf00cb58 8411fdcbadc4ef56e99d937e6549e81fc665fa7dcf89b27936444ed3d8f866b0a48916a4f63dfedc0c51cb2f0ea6799b8eccea5d0914d27b0b214efe937a4812 18.222.86.233

EricWGoat commented 2 days ago

GOAT

18.221.14.115

GOAT: ecd124ef10138a580ec79808971dcaa3574c7a92
Geth: 02aacb270446f09566bc5f26a1edb1b30815c1d0cec3774d3e1d667abb6ac7f712e00c0b4a3f421a7bfc5da75b2ff1e30adc78a156bdc0e5ce62ca0deea4209d
bossyuansu commented 21 hours ago
ubuntu@ip-12-0-8-190:~$ docker run --rm -v /data/geth/geth:/geth -w /geth ethereum/client-go:alltools-stable bootnode -nodekey nodekey -writeaddress
8411fdcbadc4ef56e99d937e6549e81fc665fa7dcf89b27936444ed3d8f866b0a48916a4f63dfedc0c51cb2f0ea6799b8eccea5d0914d27b0b214efe937a4812
ubuntu@ip-12-0-8-190:~$ docker run --rm -v /data/goat:/root/.goat ghcr.io/goatnetwork/goat:v0.1.1 comet show-node-id
6b013c7e07430ff060fa6b570daa556fbf00cb58
ubuntu@ip-12-0-8-190:~$ curl checkip.amazonaws.com
18.222.86.233