Pay with USDG

with USDG

No lock and no waiting. Pay once in a dollar stablecoin and your Energy is ready for Flash-01, sandbox runs and Autopilot. 

// 01 · WHY USDG

A dollar in, Energy out

Staking is great when you hold STARDUST and can wait. Sometimes you just need Energy now: a deadline, a new repo to scan, or a burst of Autopilot jobs. Buying with USDG covers that.

Because USDG tracks the US dollar, the price never moves under you. 1 USDG always buys 1,000 Energy, and bigger packs add bonus Energy on top. You see the exact amount before you confirm.

There's nothing to lock and nothing to unstake later. Pay once, the Energy arrives in seconds, and it sits in the same balance as the Energy you earn from staking.

// 02 · HOW IT WORKS

Topped up in four steps

01

Connect your wallet

Use any wallet that holds USDG. Nothing else is needed to get started.

02

Choose an amount

Pick a pack or type your own amount, from 5 USDG upward.

03

Confirm the transfer

Approve one USDG transfer in your wallet. You see the exact Energy before you pay.

04

Energy lands instantly

Your balance updates as soon as the transfer confirms, ready for the next API call.

// 03 · PACKS

Bigger packs, bonus Energy

The base rate is 1,000 Energy per USDG. Packs add bonus Energy, and any custom amount above a pack gets that pack's bonus too.

Starter

10USDG

10,000 Energy

Try Flash-01 on a few repos

Builder+10% bonus

50USDG

55,000 Energy

Steady API and sandbox use

Team+20% bonus

200USDG

240,000 Energy

Autopilot across several projects

// 04 · ON-CHAIN FLOW

One transaction, every step public

A purchase is a single call to the EnergyStore contract. It splits your USDG between the Energy liquidity stakers and the Stardust treasury, then mints your Energy, all in the same transaction anyone can check.

Live from the EnergyStore

Sequence · buy Energy with USDGswipe →

You

wallet

USDG

ERC-20

EnergyStore

buy()

Liquidity pool

ENERGY stakers

Treasury

Stardust wallet

ENERGY

token

1

approve(store, amount)

2

buy(amount, minEnergy)reverts if you'd get less

3

stakers' share of the USDG1–10%, set on-chain

4

distribute()booked per staked ENERGY

5

the rest of the USDG

6

mint(you, base + bonus)

7

Energy in your wallet

call payout / reply you smart contract off-chain

Sells Energy for USDG at a fixed rate with pack bonuses. The contract never keeps your payment: it is forwarded in the same transaction.

Functions

  • buy(uint256 amount, uint256 minEnergy)

    Pay USDG and receive Energy. minEnergy protects you if the rate changes.

  • quote(uint256 amount) → (base, bonus)

    Exact Energy for an amount, before you pay.

  • previewSplit(uint256 amount)

    How much goes to liquidity stakers and how much to the treasury.

  • lpFeeBps() · totalUsdg() · totalEnergy()

    Stakers' share and all-time totals, readable by anyone.

Guarantees

  • The stakers' share can only be set between 1% and 10%.
  • If nobody stakes in the liquidity pool, the whole payment goes to the treasury, so no USDG is stranded.
  • Holds no balances: every USDG is forwarded in the same transaction.
  • Ownership can't be renounced, so settings can never be frozen by accident.

// 06 · STAKE OR BUY

Two ways to fill up

Stake STARDUSTBuy with USDG
Best forTeams that already hold STARDUSTAnyone who wants Energy right now
What you payNothing, STARDUST is only lockedUSDG, spent once
Lock1, 7 or 30 daysNone
Energy arrivesEvery second while lockedAll at once
Price stabilityFollows STARDUSTPegged to the US dollar
Prefer to stake? Earn Energy with STARDUST

// 07 · FAQ

Questions

What is USDG?

USDG is a US dollar stablecoin, so 1 USDG is designed to stay worth 1 USD. That keeps Energy pricing predictable: the same amount always buys the same Energy.

How long does it take to receive Energy?

Energy is minted to your wallet in the same transaction as your payment, usually within seconds.

Is Energy bought with USDG different from staked Energy?

No. It lands in the same balance and is spent the same way across Flash-01, partner models, sandbox runs and Autopilot.

Can I get a refund or convert Energy back to USDG?

No. The store only sells Energy, it never buys it back. Energy is an ERC-20 token in your wallet: deposit it in the Energy Vault to use it, or stake it in the liquidity pool to earn USDG. Buy what you expect to use.

Do packs expire?

No. Energy from a pack stays in your balance while your account is active.