mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 14:45:04 -05:00
8 lines
235 B
Python
8 lines
235 B
Python
from py_ecc import bls
|
|
from eth2spec.phase0.spec import hash
|
|
|
|
privkeys = list(range(1, 101))
|
|
pubkeys = [bls.privtopub(k) for k in privkeys]
|
|
# Insecure, but easier to follow
|
|
withdrawal_creds = [hash(bls.privtopub(k)) for k in privkeys]
|