Comment on page
MacOS
For macOS, you need to compile the source code manually.
git clone https://github.com/opside-protocol/opside-chain-testnet-pre-alpha-node-local-run.git
cd opside-chain-testnet-pre-alpha-node-local-run/
git clone https://github.com/opside-protocol/prysm.git
git checkout --no-track -b Branch_v4.0.3 v4.0.3 --
cd ./prysm
mkdir ./bin/
go build -o=./bin/beacon-chain ./cmd/beacon-chain
go build -o=./bin/validator ./cmd/validator
Copy the
beacon-chain
located in ./bin/
directory into opside-chain-testnet-pre-alpha-node-local-run/prysm/beaconChain/
Copy the
validator
directory into opside-chain-testnet-pre-alpha-node-local-run/prysm/validator/
git clone https://github.com/opside-protocol/go-ethereum.git
git checkout --no-track -b Branch_v1.11.6 v1.11.6 --
cd ./go-ethereum
make geth
Copy
./build/bin/geth
into opside-chain-testnet-pre-alpha-node-local-run/geth/
git clone https://github.com/opside-protocol/opside-staking-deposit-cli.git
cd opside-staking-deposit-cli/
./deposit.sh install
- Use new mnemonic
./deposit.sh new-mnemonic
- Use existing mnemonic
./deposit.sh existing-mnemonic
Generate validator keystore following CLI prompts, then copy
keystore-*.json
located in directory opside-staking-deposit-cli/validator_keys/
into opside-chain-testnet-pre-alpha-node-local-run/prysm/validator/config/wallet/
Create
values.env
in directory opside-chain-testnet-pre-alpha-node-local-run/config/
then
export WITHDRAWAL=<withdrwal opside address>
export PASSWORD=<password encrypting your validator key>
cd opside-chain-testnet-pre-alpha-node-local-run
echo -n 0x$(openssl rand -hex 32 | tr -d "\n") > ./geth/config/jwtsecret
cp ./geth/config/jwtsecret ./prysm/beaconChain/config/jwtsecret
cd opside-chain-testnet-pre-alpha-node-local-run
cp ./config/values.env ./geth
./start-geth.sh
cd opside-chain-testnet-pre-alpha-node-local-run
cp ./config/values.env ./prysm/beaconChain
./start-beaconChain.sh
cd opside-chain-testnet-pre-alpha-node-local-run
cp ./config/values.env ./prysm/validator/
./start-validator.sh
Last modified 1mo ago