Skip to main content

PredepositGuarantee Helpers

Command

yarn start pdg-helpers [arguments] [-options]

PDG helpers commands list

yarn start pdg-helpers -h

API

CommandDescription
proof-and-check proof-checkmake predeposit proof by validator index and check by test contract
proofmake predeposit proof by validator index
verify-predeposit-bls verify-bls<deposits>Verifies BLS signature of the deposit
fv-gindex <forks>get first validator gindex
compute-deposit-data-root compute-dd-root<pubkey> <withdrawal-credentials> <signature> <amount>compute deposit data root
compute-deposit-domain compute-d-domain<forkVersion>compute deposit domain

<deposits>

{
"pubkey": "...",
"signature": "...",
"amount": number,
"deposit_data_root": "..."
}