git clone https://github.com/earthwallet/staking-deposit-cli.git
virtualenvをインストールして設定:pip3 install virtualenv
virtualenv venv
source venv/bin/activate
依存関係のインストールpython3 setup.py install
pip3 install -r requirements.txt
bls_to_execution_change-*.json
ファイルの生成./deposit generate-bls-to-execution-change
フラグ付きのコマンドライン./deposit --language=english generate-bls-to-execution-change \
--chain=mainnet \
--mnemonic="<あなたのニーモニック>" \
--bls_withdrawal_credentials_list="<古いBLS引き出し資格情報>" \
--validator_start_index=<EIP-2334の鍵開始インデックス> \
--validator_indices="<あなたのバリデータインデックス>" \
--execution_address="<引き出し用の実行アドレス>"
[Example]./deposit --language=english generate-bls-to-execution-change \
--chain=mainnet \
--mnemonic="sister protect peanut hill ready work profit fit wish want small inflict flip member tail between sick setup bright duck morning sell paper worry" \
--bls_withdrawal_credentials_list="0x00bd0b5a34de5fb17df08410b5e615dda87caf4fb72d0aac91ce5e52fc6aa8de,0x00a75d83f169fa6923f3dd78386d9608fab710d8f7fcf71ba9985893675d5382" \
--validator_start_index=0 \
--validator_indices="50000, 50001" \
--execution_address="0x3434343434343434343434343434343434343434"
python ./staking_deposit/deposit.py generate-bls-to-execution-change
フラグ付きのコマンドラインpython ./staking_deposit/deposit.py --language=english generate-bls-to-execution-change \
--chain=mainnet \
--mnemonic="<あなたのニーモニック>" \
--bls_withdrawal_credentials_list="<古いBLS引き出し資格情報>" \
--validator_start_index=<EIP-2334の鍵開始インデックス> \
--validator_indices="<あなたのバリデータインデックス>" \
--execution_address="<引き出し用の実行アドレス>"
[Example]python ./staking_deposit/deposit.py --language=english generate-bls-to-execution-change \
--chain=mainnet \
--mnemonic="sister protect peanut hill ready work profit fit wish want small inflict flip member tail between sick setup bright duck morning sell paper worry" \
--bls_withdrawal_credentials_list="0x00bd0b5a34de5fb17df08410b5e615dda87caf4fb72d0aac91ce5e52fc6aa8de,0x00a75d83f169fa6923f3dd78386d9608fab710d8f7fcf71ba9985893675d5382" \
--validator_start_index=0 \
--validator_indices="50000, 50001" \
--execution_address="0x3434343434343434343434343434343434343434"
--devnet_chain_setting='{ "network_name": "<ネットワーク名>", "genesis_fork_version": "<誕生(ジェネシス)フォークバージョン>", "genesis_validator_root": "<誕生(ジェネシス)バリデータルート>" }'
[例: withdrawal-mainnet-shadowfork-1]--devnet_chain_setting='{
"network_name": "withdrawal-msf-1",
"genesis_fork_version": "0x10000043",
"genesis_validator_root": "0xe9ec351d158fd3b89b6afd2e6033bcae8d8adc2dd4c560c4bbf852d47ed0410e"
}'
**[Warning] you are setting an Eth1 address as your withdrawal address. Please ensure that you have control over this address.**
Verifying your BLSToExecutionChange file: [####################################] N/N
Success!
Your SignedBLSToExecutionChange JSON file can be found at: /.../staking-deposit-cli/bls_to_execution_changes
Press any key.
デフォルトでは、bls_to_execution_changes-*.jsonファイルは./bls_to_execution_changesフォルダーにあります。BLSToExecutionChange
プールにアップロードcurl -X POST -H “Content-type: application/json” -d @<@ファイル名の宛先> \
http://<BEACON_NODE_HTTP_API_URL>/eth/v1/beacon/pool/bls_to_execution_changes
また、Beaconcha.inブロードキャストツールを使用して、ウェブユーザーインターフェイスでメッセージをアップロードすることもできます。Beaconcha.inブロードキャストツール