mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-14 12:46:06 +00: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]
|