mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 05:47:59 -05:00
Update sendDepositTx tool (#6972)
* Update sendDepositTx contract address * Use Medalla config in sendDepositTx * Update sendDepositTx - geth not necessary
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
## Utility to Deploy Deposit Contract
|
||||
|
||||
This is a utility to help users deploy deposit contract for running their own beacon chain node in a local containerized set up. To run the utility, it assumes there is a running geth node as a separate process attached to proof-of-work main chain. The utility will deploy the validator registration contract and print out the contract address. Users will pass the contract address to the beacon chain node to monitor when they have been conducted to become an active validator.
|
||||
This is a utility to help users deploy deposit contract for running their own beacon chain node in a local containerized set up. The utility will deploy the validator registration contract and print out the contract address. Users will pass the contract address to the beacon chain node to monitor when they have been conducted to become an active validator.
|
||||
|
||||
### Usage
|
||||
|
||||
@@ -31,7 +31,7 @@ This is a utility to help users deploy deposit contract for running their own be
|
||||
To use private key with default RPC:
|
||||
|
||||
```
|
||||
bazel run //tools/sendDepositTx -- --httpPath=https://goerli.prylabs.net --keystoreUTCPath /path/to/keystore --passwordFile /path/to/password --depositDelay 2 --depositContract 0x767E9ef9610Abb992099b0994D5e0c164C0813Ab
|
||||
bazel run //tools/sendDepositTx -- --httpPath=https://goerli.prylabs.net --keystoreUTCPath /path/to/keystore --passwordFile /path/to/password --depositDelay 2 --depositContract 0x07b39f4fde4a38bace212b546dac87c58dfe3fdc
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -48,6 +48,8 @@ func main() {
|
||||
customFormatter.FullTimestamp = true
|
||||
logrus.SetFormatter(customFormatter)
|
||||
|
||||
params.UseMedallaConfig()
|
||||
|
||||
app := cli.App{}
|
||||
app.Name = "sendDepositTx"
|
||||
app.Usage = "this is a util to send deposit transactions"
|
||||
|
||||
Reference in New Issue
Block a user