mirror of
https://github.com/logos-storage/logos-storage-testnet-starter.git
synced 2026-01-02 21:43: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"
|
||||
address_file="eth.address"
|
||||
|
||||
# Generate
|
||||
echo "Generating private key..."
|
||||
uri=https://key.codex.storage
|
||||
|
||||
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 ': ' '/address/ {print $2}' <<<"${response}" >"${address_file}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user