EternisAI / tlsn

Rust implementation of the TLSNotary protocol
https://tlsnotary.org
0 stars 0 forks source link

Add Carta as a Notary Provider #5

Closed saberistic closed 1 month ago

saberistic commented 1 month ago

Objective

Implement Carta as a provider for our notary service to notarize share information and total value of holdings.

Background

Carta provides detailed information about equity holdings through their API. We want to leverage this data to create notarized attestations about an individual's shares in various companies and their total value.

Requirements

  1. Integrate with Carta API

    • Endpoint structure: https://app.carta.com/api/investors/holdings/portfolio/{portfolio_id}/corporation/{corporation_id}/securities/
    • Handle authentication and API key management
  2. Parse Carta API Response

    • Extract relevant information from the JSON response, including:
      • Number of shares per company
      • Total value of holdings
      • Details of different types of equity (e.g., option grants, RSUs, warrants)
  3. Create Notarization Logic

    • Develop functions to notarize the extracted information
    • Focus on key metrics like total shares, vested shares, and total value
  4. Implement Notary Provider Interface

    • Create a Carta provider that adheres to our notary provider interface
    • Ensure it can generate appropriate attestations based on the Carta data

Technical Considerations

Security and Privacy

Testing

Documentation

Next Steps

saberistic commented 1 month ago

due to complexity of how API is organized, we will close this for now