<p>I'm assuming that you're using a fully custodial setup. You need to implement logic to keep track of their balances in a database. Hereby, you give each new user a new deposit address and keep track whom you have shown which addresses. When you receive funds, you credit the corresponding user in your database. When they withdraw, you deduct from their balance. Hereby, you need to consider the confirmation status and transaction fees of the corresponding transactions.</p>

<p>To be honest, if you're having trouble mapping individual user balances to your customers, it worries me that you are aiming to manage funds for others.
You should perhaps consider relying on a third party service to manage the funds of your business for you. However, even then you'll need to implement the basic business logic yourself.</p>

CC BY-SA 3.0
2018-01-28T15:52:19.757Z
2018-01-28T15:52:19.757Z
Murch
<p>We are developing bitcoin wallet for multi-user. We are using Bitcoin core as Bitcoin wallet. Bitcoin core is generating random address. we cannot show balance because After one transaction rest of user's balance goes to a new address. so we can not show the real balance of any user? But we can not use old accounting system. How to create multi-user bitcoin wallet using UTXO and show user address balance.</p>

<bitcoin-core><blockchain><bitcoin-core-development>
How to create multi-user bitcoin wallet using UTXO?
user2773184
# How to create multi-user bitcoin wallet using UTXO?

(Asked by: username_0 on 2018-01-25)

We are developing bitcoin wallet for multi-user. We are using Bitcoin core as Bitcoin wallet. Bitcoin core is generating random address. we cannot show balance because After one transaction rest of user's balance goes to a new address. so we can not show the real balance of any user? But we can not use old accounting system. How to create multi-user bitcoin wallet using UTXO and show user address balance.

**Tags:** bitcoin-core, blockchain, bitcoin-core-development


---

## 1 answers

### Answer by username_1 on 2018-01-28. Score: 1

I'm assuming that you're using a fully custodial setup. You need to implement logic to keep track of their balances in a database. Hereby, you give each new user a new deposit address and keep track whom you have shown which addresses. When you receive funds, you credit the corresponding user in your database. When they withdraw, you deduct from their balance. Hereby, you need to consider the confirmation status and transaction fees of the corresponding transactions.

To be honest, if you're having trouble mapping individual user balances to your customers, it worries me that you are aiming to manage funds for others.
You should perhaps consider relying on a third party service to manage the funds of your business for you. However, even then you'll need to implement the basic business logic yourself.


---

