Download Best Wallet
Download your #1 Monero wallet
Developers and APIs

How do wallet applications communicate with a Monero daemon?

Efficient, reliable communication between a wallet and the daemon is necessary for managing Monero effectively.

Quick Answer

Wallets communicate with a Monero daemon via the JSON-RPC interface. By sending requests to specific RPC methods—such as `get_balance` or `transfer`—the wallet interacts with the blockchain indirectly. This allows the wallet to remain lightweight while the daemon manages the full copy of the blockchain and P2P network traffic.

The RPC Interface

The JSON-RPC protocol allows wallets to perform secure actions without needing full blockchain history locally. When a wallet sends a request, the daemon processes it, verifies the underlying data, and sends the result back in JSON format. This standardized API makes it easier for developers to build varied wallet applications.

Connection Flexibility

Wallets can connect to a local daemon for the best security and privacy or to a remote node for convenience. When using remote nodes, it is important to remember that the node operator can see your IP address and may be able to associate specific transactions with your network location.

Networking controls in Best Wallet

Best Wallet combines built-in Tor and selectable node connections with everyday XMR management, so network choices are available in the wallet interface. Its documented default uses clearnet for the initial scan and Tor afterwards; select the mode that fits your threat model. These controls do not protect a compromised computer or information disclosed to an external service.

Explore Best Wallet privacy controls

Sources

Related reading

Key takeaways

  • JSON-RPC is the standard language for wallet-daemon communication.
  • Wallets perform actions like balance checks and transfers via RPC.
  • Using a local daemon is recommended for higher privacy and security.