2021-05-04 11:54:19 +00:00
|
|
|
# How to run Catalyst
|
|
|
|
|
2021-06-01 12:40:13 +00:00
|
|
|
- Clone Geth master into ~/client/catalyst: `git clone https://github.com/ethereum/go-ethereum ~/clients/catalyst`
|
2021-05-04 11:54:19 +00:00
|
|
|
- Build Geth and Catalyst with `go build -o ./build/bin/catalyst ./cmd/geth`
|
|
|
|
- Run `scripts/run-catalyst.sh` to run Catalyst. It listens on port 8545.
|
|
|
|
|
|
|
|
# Verify Catalyst is working
|
|
|
|
|
|
|
|
- Clone https://github.com/protolambda/mergenet-tutorial
|
|
|
|
- Navigate to `rpc_examples` and run `consensus_assembleBlock.sh`, `consensus_newBlock.sh`, `consensus_setHead.sh`, and `
|
|
|
|
get_genesis_hash.sh` to verify that Catalyst is properly configured.
|
|
|
|
- If issues present themselves here, or when Nimbus attempts to use the API, one can `debug.verbosity(4)` console command in Catalyst.
|
|
|
|
|
|
|
|
# How to run Nimbus
|
|
|
|
|
|
|
|
- Check out branch `quick-merge-v1`
|
2021-07-16 13:02:27 +03:00
|
|
|
- Run `./scripts/launch_local_testnet.sh --nodes 4 --disable-htop --stop-at-epoch 8 -- --verify-finalization --discv5:no`
|
2021-05-04 11:54:19 +00:00
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
# How to post a transaction
|
|
|
|
|
|
|
|
- Set up the MetaMask Chrome extension and use the seed phrase corresponding to an address with funds at genesis.
|
|
|
|
- Configure the localhost:8545 network to use the Chain ID corresponding to the Catalyst chain configuration.
|
|
|
|

|
|
|
|
- Create a transaction from that address to another address.
|
|
|
|

|
|
|
|
- Run the local testnet to confirm the transaction.
|
|
|
|

|