Skip to content

The newest launches (curl)

Example

This is an example. Every value in it (names, amounts, addresses) is there to show you how; change any of them to suit you. It’s new-coins.sh from developers/examples, as it is. Anything that sends waits for SEND=1: there is no testnet, so a sent transaction spends real ETH.

new-coins.sh
#!/usr/bin/env bash
# The newest launches on every Robinhood Chain launchpad, with who holds them.
# bash new-coins.sh
API="${UPRALLY_API:-https://uprally.co/api/v1}"
curl -s "$API/coins/new?limit=5" | python3 -c '
import json, sys
for c in json.load(sys.stdin)["coins"]:
h = c["holders"] or {}
print(c["createdAt"], c["launchpad"], c["ticker"], c["address"], "bundled", h.get("bundledHeldPct"), "% snipers", h.get("snipersHeldPct"), "%")
print("RESULT ok")'