DAI, USDS, SKY and SPK: the Sky ecosystem at one checkout
MakerDAO renamed itself Sky, launched a new stablecoin next to DAI, replaced MKR with SKY, and now Spark, a lender built on top of it, has its own token too. A customer from that world may hold any of the four. easyway accepts all four on Ethereum, but they behave differently at checkout: two are dollars and two are not. This post shows which is which, the look-alikes that don't count, and an invoice that offers all of them.
The four tokens
| Token | What it is | Contract | Priced at | Counted after |
|---|---|---|---|---|
| DAI | The original dollar stablecoin of MakerDAO | 0x6B17…1d0F | Exactly 1 USD | 12 blocks (~3 min) |
| USDS | Sky Dollar, DAI's successor | 0xdC03…384F | Exactly 1 USD | 12 blocks (~3 min) |
| SKY | Governance token, MKR's successor | 0x5607…9279 | Market price | 12 blocks (~3 min) |
| SPK | Token of Spark, a lender in the Sky ecosystem | 0xc200…b066 | Market price | 12 blocks (~3 min) |
All four are ERC-20 tokens on Ethereum and are paid to the same kind of per-invoice deposit address, so the integration is identical. The full contract addresses are on each coin page. The difference that matters is the Priced at column. DAI and USDS are counted as exactly one dollar each, with no live price lookup, so a $500 invoice asks for 500 USDS or 500 DAI. SKY and SPK are priced from the market at the moment the customer picks the coin, and after the payment they stay SKY or SPK on your balance, so their price moves are yours.
DAI and USDS are two coins, not one
Holders can convert DAI to USDS and back 1:1 in Sky's own app, so it is tempting to treat them as the same dollar. On the blockchain they are two contracts, and easyway keeps them as two coins with two balances. A payment in DAI is credited as DAI and withdrawn as DAI; the same goes for USDS. If your accounting only wants one of them, offer only that one in allowed_assets, or convert after you withdraw. One technical difference: DAI is a plain contract, while USDS is an upgradeable proxy, so a USDS transfer costs slightly more gas (about 57,000). The customer pays that gas, not you.
Sky tokens that can't pay an invoice
| Token | Why it doesn't count | What the customer does |
|---|---|---|
| MKR | The old governance token, a different contract | Upgrade to SKY first (24,000 SKY per MKR, one way) |
| sUSDS | USDS deposited in Sky's savings contract | Withdraw to USDS, then pay |
| Staked SKY | Held by Sky's staking contracts, not the wallet | Withdraw it to a wallet, then pay |
| Staked SPK | Held by Spark's staking, not the wallet | Unstake to SPK, then pay |
| Any of them on another chain | A bridged copy with its own contract | Pay on Ethereum |
The watcher only counts transfers of the four contracts above into the invoice's deposit address. A savings or staked position is a different token, so sending it to the address does not mark the invoice paid. If a customer pays from an exchange, they pick the token and Ethereum (ERC-20) as the network; the guide to paying from an exchange shows the steps.
One invoice that offers all four
Price the order in dollars and let the customer choose. The checkout lists only the coins in allowed_assets, locks the amount for each one when the customer picks it, and sends the signed invoice.paid webhook when the payment is confirmed:
curl -X POST https://api.easyway.cash/v1/invoices \
-H "Authorization: Bearer $EASYWAY_API_KEY" \
-H "Idempotency-Key: order-5120" \
-H "Content-Type: application/json" \
-d '{"amount":"500","currency":"USD","order_id":"5120",
"allowed_assets":["USDS_ERC20","DAI_ERC20","SKY_ERC20","SPK_ERC20"],
"lifetime":60}'To accept only the dollar tokens, keep USDS_ERC20 and DAI_ERC20 and drop the other two. To price the invoice in a token instead of dollars, set currency to its id, for example "SKY_ERC20". The quickstart walks through the full flow, there are ready-made clients in Node.js, Python and PHP, and limiting the checkout to some coins covers allowed_assets in more detail.
What it costs
| Token | Ignored below | Min. withdrawal | Withdrawal fee |
|---|---|---|---|
| DAI | 0.01 DAI | 0.5 DAI | 1.5 DAI |
| USDS | 0.01 USDS | 0.5 USDS | 1.5 USDS |
| SKY | 0.05 SKY | 8 SKY | 27 SKY |
| SPK | 0.8 SPK | 43 SPK | 140 SPK |
The platform fee is a flat 0.5% of each confirmed payment for all four, so a 500 USDS payment leaves 497.5 USDS on your balance. The withdrawal fee is flat per token and covers the Ethereum gas of one transfer, which is why it comes to roughly $1.50 to $1.80 worth of each token at today's prices. Transfers below the dust line are ignored. easyway holds what you receive on your balance until you withdraw it to a wallet you whitelisted (see security); compare the pricing page for the other coins.