GOATNetwork / genesis-ceremony

0 stars 0 forks source link

Prepare validators for testnet3 #2

Closed ericlee42 closed 2 weeks ago

ericlee42 commented 3 weeks ago

Steps to create a genesis validator

Spin up an AWS ec2 and associate an EIP for it

You can choose x86 or arm instances for it, e.g. c5.2xlarge, c7g.2xlarge and c8g.2xlarge

You should make sure that it can access the public internet.

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 validator private key and get the creation proof

$ docker run --rm -v /data/goat:/root/.goat ghcr.io/goatnetwork/goat:testnet-2 modgen locking sign --owner 0x...abc --eth-chain-id 48816
{
 "owner": "0x246b2a34aa4d27bf5a90e3f91e733d8b942c10c2",
 "pubkey": "0x22978cffa038a1e489eb186934df5593b980592abc96f07371315b749125ca5772555d6f0fd7a4933d50b0276c6adf8c90fa899baef4036e88e0a8d0aac1f10b",
 "signature": "0x2f466482af1bc206f616778d29d2c33b7037bd1302e4195dd3bf2d184d9bd4064c12b684fe134ab761c7f68dba3f216a378e2e3b9512c0c9fc651605e989c77900",
 "validator": "0x75c54dfb361dcb23faa0db6e23445cb097ca92a7"
}

replace the 0x...abc, that is your validator owner

Deposit

docker run --rm ghcr.io/goatnetwork/goat:testnet-2 modgen bitcoin deposit-address \
--eth-address 0x..ownerAddress... --network testnet3 \
--pubkey 037e3b7ed8ae975ce618c7c278213e03f761d412d320c24aa184cb5d3223d2f6fd  

You will get the deposit address for your validator, and you need to deposit 2 tBTC to the address.

deposit address tb1qafv3sl2mhpnup2qn0cp4z80aags5a7srckp8yeg5wf3lzxgfjt0qqeqkff

Comment

Put the json output and your deposit transaction here

ericlee42 commented 3 weeks ago

MetisDAO

{
 "owner": "0x25877253d48d0386fe5655522a1b04425220ebf7",
 "pubkey": "0xf867f98687ab2b1a4ccfc40b80652433301dba238ac868fbbd08f88a102ef773a09a14b7450a3f16dc4b827b10e10b8f6fa835fa3c537fa9f1980cfdffa08b99",
 "signature": "0x05464971536f352c3e4782f022708138989fb5387457c3d2b4f0cbeb7deda6c05e2584bffb2915010b4b04ac65744467228f55d106eb5596c67e9adfe15640b700",
 "validator": "0x1f1678de2c9985afbc3672506ba3f51d6f112fe6"
}

The deposit tx

https://mempool.space/testnet/tx/f59b33b7f62e7b32ec9a79923ad6e958f8a494f1a7f544ffb07f41880fa9c974

eigmax commented 3 weeks ago

ZKM

{
 "owner": "0x4f42539e37f7ec121007d2f0e43866985f8534b0",
 "pubkey": "0xc4667b68abe1640bdbbb33ba71ba0f2d04af641ecda65fd05fe1a1db3f995769187a90be4addd19fb8b070c4b0e4a60d62c687ce7c8745e07590805bea08af93",
 "signature": "0x7c230140285c2e7f1f4496287c95998232094fbae7ab07acb578cbea9f5da22d5a0df5f243e042c76ac05fcc89cbab48567a0e757eee26c557b3189f6aee36de01",
 "validator": "0x70cce9b7fb446d4ccf793c8cbc12dbef99a10f83"
}
aiden069 commented 3 weeks ago

Goat Network

{
 "owner": "0x7d9fb1017422e8a31fe0010c31650c9932fac1a1",
 "pubkey": "0xa4d546d0c3e4a10e88408de3556f396a866c99cc1ce149156fb4e136fe68ac6eb49aa812818de92aa5c2c8998e6fc1be3ac1786f174813edd0ef01cb53ff3712",
 "signature": "0xc0486f2f529ada675467eefb9530a61535a6f17d90d59f5c9c53bec704d7ee1c1084514b37fcae613aad8dc6e33fba32290a8435001bc4efbb828b19aacbd90401",
 "validator": "0x9104a28cdf6a00a546a1c365007ebf017b0645af"
}