Skip to main content
molnpay

Deposit addresses · DAI

Dai deposit addresses for your users.

Give every one of your users a permanent Dai address they can deposit to any time. It is computed in advance, it has no private key, and we sweep it and pay the network fee to do so. MakerDAO's dollar, collateralised on-chain rather than by a bank account — the oldest stablecoin still in wide use.

DAI on 1 chain.

Enable the ones your users need. Each gives that user their own address, and enabling a new one later gives it to the users you already have.

EthereumERC-20
DAI on Ethereum
Gas here is the highest of any chain on this list, so a payment has to clear a minimum amount to be worth collecting. The checkout shows that minimum to your payer before they choose Ethereum, and every other chain here is cheaper.

Issuing a Dai address.

  1. Create the customer

    One POST with your own user id as the reference. This is the record everything else hangs off.

  2. Ask for an address per chain

    One per (customer, chain), and it does not change. The address is computed in advance from the customer's salt, so the same customer has the same address on every EVM chain — and you can show it again tomorrow without calling us.

  3. Credit on deposit.confirmed

    We watch every block, sweep what lands, and pay the network fee to do it. Sweeps are visible to you and read-only: they never change what you are owed.

POST /v1/customers
curl https://api.molnpay.com/v1/customers \
  -H "Authorization: Bearer $MOLNPAY_SECRET_KEY" \
  -H "Idempotency-Key: user_4471" \
  -d reference_id="user_4471"

What you do not have to do.

  • Hold a DAI wallet, or guard a seed phrase for one. Every address is a contract with no key.
  • Keep gas on hand. Our operator wallet funds the sweep on every chain DAI settles on.
  • Re-issue an address. One per user, per chain, and it does not change.
  • Run a watcher that must never miss a block, or reconcile a reorg by hand.

Taking DAI payments instead?

Same API, same keys, same balance — the difference is whether the address belongs to an invoice or to one of your users.

Accept Dai payments

Addresses for another asset