Buf.Build Integration

Access and work with Onli Platform's Protobuf definitions and gRPC services using Buf.Build. Our API is built on gRPC for maximum performance and type safety.

Quick Links

Getting Started

  1. Install the Buf CLI

    First, install the Buf CLI to interact with our Protobuf registry:

    # Using Homebrew (macOS)
    brew install bufbuild/buf/buf

    # Using npm
    npm install -g @bufbuild/buf
  2. Initialize Your Project

    Create a buf.yaml configuration file in your project:

    version: v1
    deps:
    - buf.build/onli/platform
  3. Generate Code

    Use buf generate to create client code for your preferred language:

    # Example for TypeScript
    buf generate buf.build/onli/platform

Available Services

Our Protobuf registry includes the following main services:

  • Asset Service - Core asset management operations
  • Oracle Service - Asset verification and tracking
  • Treasury Service - Asset issuance and management
  • Logistics Service - Asset movement and transfer
Info

Need help? Check out our Buf.Build tutorials or contact our support team.