mirror of
https://github.com/logos-storage/logos-storage-testnet-starter.git
synced 2026-01-03 22:13:07 +00:00
Be more explicit in requesting remote ETH keys (#26)
This commit is contained in:
parent
9f7ac4a17c
commit
e2d94a2bb9
@ -5,10 +5,12 @@ set -e
|
|||||||
key_file="eth.key"
|
key_file="eth.key"
|
||||||
address_file="eth.address"
|
address_file="eth.address"
|
||||||
|
|
||||||
# Generate
|
uri=https://key.codex.storage
|
||||||
echo "Generating private key..."
|
|
||||||
|
|
||||||
response=$(curl -s https://key.codex.storage)
|
# Generate
|
||||||
|
echo "Generating private key from remote <${uri}>..."
|
||||||
|
|
||||||
|
response=$(curl -s ${uri})
|
||||||
awk -F ': ' '/private/ {print $2}' <<<"${response}" >"${key_file}"
|
awk -F ': ' '/private/ {print $2}' <<<"${response}" >"${key_file}"
|
||||||
awk -F ': ' '/address/ {print $2}' <<<"${response}" >"${address_file}"
|
awk -F ': ' '/address/ {print $2}' <<<"${response}" >"${address_file}"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user