add files

This commit is contained in:
Your Name committed 2023-09-10 12:32:47 +03:00
1 parent 47592012d2
commit 1b8c67375f
18 files changed
+353

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
docker compose stop
docker compose rm -f
rm -rf root_beaconchain/*
rm -rf root_validator/*
rm -rf root_signer/geth
rm -rf root_slasher/slache
rm -rf files/genesis.ssz
docker compose -f docker-compose-create-beaconchain-node.yml up -d
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
rm -rf files/validator_keys
docker run -it --rm -v $(pwd)/files/validator_keys:/app/validator_keys staking-deposit new-mnemonic --num_validators=$NUM_VALIDATORS --folder=/app --devnet_chain_setting='{"network_name":"sanchain-dev","genesis_fork_version":"0x20000089","genesis_validator_root": "0x15b699aab9e7ba7d4afd5ff9dd1083646d2f3f33b15878d11f859e374ae069ee"}' --eth1_withdrawal_address=$WALLET
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
rm -rf files/wallet
docker run -it --rm -v $(pwd)/files:/files gcr.io/prysmaticlabs/prysm/validator:stable \
wallet create --wallet-dir=/files/wallet --wallet-password-file=/files/validator.txt --keymanager-kind=imported --accept-terms-of-use
docker run -it --rm -v $(pwd)/files:/files gcr.io/prysmaticlabs/prysm/validator:stable \
accounts import --accept-terms-of-use --keys-dir=/files/validator_keys --wallet-dir=/files/wallet
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
docker compose -f docker-compose-create-geth-node.yml up -d
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
docker compose stop
docker compose rm -f
rm -rf root_beaconchain/*
rm -rf root_validator/*
rm -rf root_signer/geth
rm -rf root_slasher/slache