Shared protobuf definitions for Mantis Exchange microservices.
| File | Description |
|---|---|
proto/mantis/types.proto |
Common types: Order, Trade, Side, OrderType, DepthLevel |
proto/mantis/matching.proto |
MatchingEngine gRPC service |
proto/mantis/order.proto |
OrderService gRPC service |
protoc --go_out=pkg/proto --go_opt=paths=source_relative \
--go-grpc_out=pkg/proto --go-grpc_opt=paths=source_relative \
-Iproto proto/mantis/*.protoUses tonic-build in build.rs — automatically compiles protos at build time.
- Decimal values (price, quantity) are
stringto preserve precision - Timestamps are
int64Unix milliseconds - All protos use
package mantis
Part of Mantis Exchange
MIT License