Author

Topic: What methods do crypto exchanges use to keep track of users funds? (Read 65 times)

member
Activity: 525
Merit: 72
Crypto - Fiat Exchange
I'm not sure what level of detail you are looking for, but in simple terms they have a database that keeps track of how much of each coin is owned by each account. When you deposit USDT, they credit your account. When you withdraw USDT, they debit your account.

I assume that exchanges use proprietary software, but you might try looking at the open source payment processor BTCPay Server

Thank you for the reply, I was wondering if there's a pre-built system out there ready to be played with. I've looked into btcpayserver but unfortunately it's BTC only.
legendary
Activity: 4466
Merit: 3391
I'm not sure what level of detail you are looking for, but in simple terms they have a database that keeps track of how much of each coin is owned by each account. When you deposit USDT, they credit your account. When you withdraw USDT, they debit your account.

I assume that exchanges use proprietary software, but you might try looking at the open source payment processor BTCPay Server
member
Activity: 525
Merit: 72
Crypto - Fiat Exchange
It's been a while since when I first started wondering about this and searching online didn't really help. I know there's some sort of an internal system keeping track of everything but how does it work? For example, the Phemex wallet I make deposits to for USDT has 10 or so million USDT in it, pooled funds from different users. How does Phemex keep track of which money belongs to who? Is there a system out there that's already made and ready to deploy?

TYIA.
Jump to: