manual scripts wallets

This commit is contained in:
2024-04-17 17:20:17 +00:00
parent 7dc9ed014f
commit 3d1abb5be4
33 changed files with 45 additions and 55 deletions

View File

@@ -21,5 +21,5 @@ GAUGOSYLCX7JZTQYF2K7RIMHFWKSA3WSI2OQ4IRKXMDMVE6ABJIJMFQR
)
for wallet in "${wallets[@]}"; do
curl -sL "https://horizon.stellar.org/accounts/${wallet}" -H 'Accept: application/json' | jq --raw-output '.balances[] | select(.asset_code == "TFT") | .balance' | xargs printf "%.2f" > ${wallet}.md
curl -sL "https://horizon.stellar.org/accounts/${wallet}" -H 'Accept: application/json' | jq --raw-output '.balances[] | select(.asset_code == "TFT") | .balance' | xargs printf "%.2f" > ${wallet,,}.md
done