USDS (Sky Dollar) is the stablecoin that replaced DAI as the main dollar token of Sky, the protocol formerly known as MakerDAO. If you build wallets, dashboards or treasury tools, you will probably meet two tokens: USDS itself, and sUSDS, the savings token that earns the Sky Savings Rate. This post looks at both from a developer's point of view, with a small Python script that reads the live savings rate straight from the contract.
For the non-technical background (how USDS is backed, how it differs from DAI and USDC, risks and taxes), see this plain-English guide to the USDS stablecoin.
USDS in one paragraph
USDS aims to stay worth $1. It is minted by smart contracts against overcollateralized positions, and holders of the SKY governance token vote on the rules. DAI and USDS convert 1:1 in both directions with no fee. On Ethereum, USDS is a standard ERC-20 with 18 decimals, unlike USDC's 6. If dollar tokens are new to you, start with what stablecoins are.
sUSDS is a vault, not a rebasing token
Depositing USDS into the savings module gives you sUSDS. Your sUSDS balance does not grow. Instead, each sUSDS becomes redeemable for more USDS over time. sUSDS follows ERC-4626, the tokenized vault standard, so the useful views are standard:
-
asset()returns the underlying token (USDS). -
convertToAssets(shares)tells you how much USDS a number of shares is worth right now. -
totalSupply()is the number of shares;totalAssets()is the USDS behind them.
The classic bug is treating shares as dollars. If a user holds 1,000 sUSDS, their position is not $1,000; it is convertToAssets(1000e18) USDS.
The rate lives on-chain as a per-second number
Sky stores the savings rate as ssr, a per-second growth factor scaled by 10^27 (a "ray"). To get an annual yield, raise it to the number of seconds in a year. Use Decimal with enough precision, not floats.
A dependency-free check
This script calls a public Ethereum RPC, confirms that sUSDS wraps the USDS address you pinned, then reads the rate and vault totals. It uses only the standard library. Double-check both addresses against Sky's developer docs before relying on them.
import json, urllib.request
from decimal import Decimal, getcontext
getcontext().prec = 60
RPC = "https://ethereum-rpc.publicnode.com"
USDS = "0xdC035D45d973E3EC169d2276DDab16f1e407384F" # verify in Sky's docs
SUSDS = "0xa3931d71877C0E7a3148CB7Eb4463524FEc27fbD" # verify in Sky's docs
ONE = 10 ** 18
RAY = Decimal(10) ** 27
YEAR = 365 * 24 * 60 * 60
def call(to, data):
body = json.dumps({"jsonrpc": "2.0", "id": 1, "method": "eth_call",
"params": [{"to": to, "data": data}, "latest"]}).encode()
req = urllib.request.Request(RPC, body, {"Content-Type": "application/json",
"User-Agent": "susds-check/0.1"})
with urllib.request.urlopen(req, timeout=15) as r:
return int(json.load(r)["result"], 16)
asset = call(SUSDS, "0x38d52e0f") # asset()
assert asset == int(USDS, 16), "sUSDS does not wrap the USDS address you pinned"
ssr = call(SUSDS, "0x03607ceb") # ssr(), per-second rate in ray
price = call(SUSDS, "0x07a2d13a" + hex(ONE)[2:].zfill(64)) # convertToAssets(1e18)
shares = call(SUSDS, "0x18160ddd") # totalSupply()
assets = call(SUSDS, "0x01e1d114") # totalAssets()
apy = (Decimal(ssr) / RAY) ** YEAR - 1
print(f"1 sUSDS = {Decimal(price) / ONE:.6f} USDS")
print(f"Savings rate (from ssr): {apy * 100:.2f}% APY")
print(f"sUSDS supply: {Decimal(shares) / ONE:,.0f}")
print(f"USDS held by vault: {Decimal(assets) / ONE:,.0f}")
When I ran it on November 19, 2026, it printed:
1 sUSDS = 1.116863 USDS
Savings rate (from ssr): 3.80% APY
sUSDS supply: 3,319,839,000
USDS held by vault: 3,707,804,618
Three things to notice:
- The 3.80% matches what Sky.money showed that day, so you can compute the rate yourself instead of scraping a website.
- Share supply (about 3.32 billion) and assets (about 3.71 billion USDS) differ by the accumulated yield. Label which one you display.
- The
assertonasset()is cheap insurance against pointing at a lookalike contract. Identify tokens by address, never by name or ticker.
Things the script does not tell you
- The rate is variable and set by governance. It can be cut at any time, so never present it as fixed.
- A higher number elsewhere usually means more risk. Compare options with this stablecoin staking guide.
- Peg risk and smart contract risk still apply. See whether stablecoins are safe and, for another decentralized dollar, how Aave's GHO works.
- Some Sky.money features are restricted by country, which matters if your users are in the US or UK.
Key takeaways
- USDS uses 18 decimals on Ethereum; do integer or
Decimalmath. - sUSDS is an ERC-4626 vault: convert shares to assets before showing a value.
-
ssris a per-second ray; APY = (ssr / 1e27) ^ seconds_per_year - 1. - Pin contract addresses per chain and verify
asset(). - To see where USDS ranks by size, check this list of the largest stablecoins.
Read the full USDS guide on NutshellCrypto
This post is for education only and is not financial advice.
This post was written with AI assistance.
Top comments (0)