Bitcoin Forum
June 24, 2024, 07:57:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What methods do crypto exchanges use to keep track of users funds?  (Read 50 times)
alterra57 (OP)
Member
**
Offline Offline

Activity: 525
Merit: 72

Crypto - Fiat Exchange


View Profile
September 03, 2023, 07:49:21 PM
 #1

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.

odolvlobo
Legendary
*
Offline Offline

Activity: 4354
Merit: 3274



View Profile
September 04, 2023, 04:08:57 AM
 #2

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

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
alterra57 (OP)
Member
**
Offline Offline

Activity: 525
Merit: 72

Crypto - Fiat Exchange


View Profile
September 04, 2023, 08:37:44 PM
 #3

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!