# Decentralization API for XMTP

## File Hierarchy

- **endpoints**
  - gRPC endpoints to v3 and decentralization protobuf interface
- **queries**
  - queries according to the XMTP Protocol Interface
- **protocol**
  - XMTP d14n implementation according to the
    [d14n XIP](https://github.com/xmtp/XIPs/blob/main/XIPs/xip-49-decentralized-backend.md#33-client-to-node-protocol)

- **endpoints/v3** are endpoints for the v3 implementation of XMTP
  (non-decentralized, MLS Group Chat version)
