Overview of the Minotari Wallet gRPC API
development.proto files).repository·development·Indexed 19 days ago
https://github.com/tari-project/tariA privacy-centric protocol featuring a suite of applications including nodes, wallets, miners, and MCP servers for AI integration. Documentation covers the minotari_console_wallet (TUI, gRPC, and script modes), the minotari_ledger_wallet installation and development for Ledger devices (Nano S Plus, Nano X, Stax, Flex), and the minotari_app_grpc crate for cross-application gRPC definitions.
.proto files).Transactions and Blocks.base_node_grpc_client crate provides a gRPC-based interface for interacting with a Tari Base Node. It is part of the Tari Cryptocurrency project and allows developers to communicate with the node's services using gRPC protocols.minotari_app_grpc crate serves as the centralized source for all cross-application gRPC definitions and provides the necessary conversion logic between gRPC message types and tari::core types. Developers building applications that need to communicate with Tari components via gRPC should use this crate to ensure consistent message formats and type compatibility.The Tari ecosystem is composed of several specialized applications that work together to provide a complete cryptocurrency environment. Key applications include:
Tari provides several gRPC services for programmatic interaction with the ecosystem. These services use Protocol Buffers (protobuf) and are implemented using the tonic framework in Rust.
| Service | Hosted By | Default Address |
|---|---|---|
| BaseNode | minotari_node | 127.0.0.1:18142 |
| Wallet | minotari_console_wallet | 127.0.0.1:18143 |
| ValidatorNode | Validator Node | Varies by deployment |
The Minotari Miner is a standalone application designed to mine blocks on the Minotari network. It must be connected to both a Minotari Base Node and a Minotari Console Wallet.
Its primary functions are:
It also serves as a reference implementation for developers looking to build custom miners.
Tari provides C-compatible Foreign Function Interface (FFI) libraries to allow integration with non-Rust applications.
minotari_wallet_ffi: Used for comprehensive wallet operations in mobile and desktop applications.minotari_mining_helper_ffi: Provides mining utilities for mining pools and stratum servers..a).so).so).dylib).dll)Integration is possible via:
ffi-napi bindings.ctypes or cffi.P/Invoke.CommsBuilder pattern to configure and instantiate the messaging layer.The Minotari base node provides an HTTP REST API built on Axum. The server is configured with the following defaults:
0.0.0.0)./swagger-ui or the raw OpenAPI specification at /openapi.json.A Payment Reference (PayRef) is a globally unique, 64-character hexadecimal identifier for individual transaction outputs on the Tari blockchain. It serves as verifiable proof of a payment without revealing sensitive information like amounts, sender/receiver identities, or transaction relationships.
Key Properties:
PayRef = Blake2b_256(block_hash || output_hash).