Category: bug
Problem
src/blockchain-wallet/soroban.service.ts's getBalance/getStakeBalance (lines 210-217) are TODO stubs that return a hardcoded '0'. BlockchainWalletService.syncBalance() (src/blockchain-wallet/blockchain-wallet.service.ts lines 84-102) calls these and persists whatever they return.
Impact
GET /wallet/balance will always report balanceUsdc: '0'/stakedBalance: '0' in production regardless of the wallet's actual on-chain balance, making the wallet balance feature entirely non-functional for end users.
Suggested fix
Implement real Soroban contract reads for balance/stake, or clearly mark the endpoint as unavailable until implemented.
Category: bug
Problem
src/blockchain-wallet/soroban.service.ts's
getBalance/getStakeBalance(lines 210-217) are TODO stubs that return a hardcoded'0'.BlockchainWalletService.syncBalance()(src/blockchain-wallet/blockchain-wallet.service.ts lines 84-102) calls these and persists whatever they return.Impact
GET /wallet/balancewill always reportbalanceUsdc: '0'/stakedBalance: '0'in production regardless of the wallet's actual on-chain balance, making the wallet balance feature entirely non-functional for end users.Suggested fix
Implement real Soroban contract reads for balance/stake, or clearly mark the endpoint as unavailable until implemented.