Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
This repository was archived by the owner on Dec 2, 2025. It is now read-only.

ACTA API Integration for Pool Participation Credentials #264

@JosueBrenes

Description

@JosueBrenes

📋 Summary

Integrate ACTA (Stellar Verifiable Credentials Management API) into TrustBridge dApp to enable Pool Participation Credentials - a system that allows users to build and verify their DeFi reputation across pools while maintaining privacy.

🎯 Use Case: Pool Participation Credentials

Problem Statement

Currently, there's no way for users to demonstrate their experience and reliability in DeFi pools without revealing sensitive information like exact amounts or wallet addresses. This creates barriers for:

  • Experienced users seeking better terms based on their track record
  • New pools wanting to assess user reliability
  • Building trust and reputation in the DeFi ecosystem

Solution

Implement verifiable credentials that certify a user's pool participation history without revealing private data.

🚀 Proposed Implementation

Core Features

  1. Manual Credential Creation: Users can create verifiable credentials for their pool participation containing:

    • Participation duration (e.g., "6+ months")
    • Risk level (e.g., "Conservative", "Moderate", "Aggressive")
    • Performance tier (e.g., "No liquidations", "Stable participant")
    • Pool type experience (e.g., "Multi-asset pools", "Stablecoin pools")
  2. Privacy-Preserving Display:

    • Credentials show reputation without revealing sensitive data
    • Only display necessary information for trust-building
    • No wallet addresses or exact amounts exposed
  3. Credential Portfolio:

    • Manage multiple credentials in a dashboard
    • Share credentials with potential pool partners
    • Build reputation over time through manual attestations

User Flow

1. User configures ACTA API credentials in TrustBridge settings
2. User manually creates credential for their pool participation experience
3. Credential is stored via ACTA API and displayed in credential dashboard
4. When joining new pools, user can showcase their credentials
5. Pool operators can manually verify credentials for better terms

🛠️ Technical Implementation

Frontend Integration (dApp-TrustBridge/frontend)

  • Configuration Panel: Simple UI for users to input ACTA API URL and API key
  • Credential Dashboard: View and manage earned credentials
  • Pool Integration: Display credential benefits when joining new pools
  • Direct API Integration: Frontend communicates directly with ACTA API
  • Client-side Credential Management: Handle credential creation, verification, and listing in the browser

API Integration Points

  • Health Check: Validate ACTA API connectivity from frontend
  • Credential Creation: Generate credentials through frontend interface
  • Credential Verification: Verify credentials directly from the dApp
  • Credential Listing: Display user's earned credentials in the UI

🔧 Configuration

Users will need to configure:

  • ACTA API URL: https://acta.up.railway.app (or custom instance)
  • API Key: Obtained from ACTA dApp
  • Network: Testnet/Mainnet compatibility

⚠️ Beta Disclaimer

IMPORTANT: ACTA API is currently in BETA status. Users should expect:

  • Potential API changes and updates
  • Possible service interruptions
  • Limited feature set during beta period

Error Reporting

If you encounter any issues with the ACTA integration:

  1. Check the browser console for error messages
  2. Verify API connectivity using the health endpoint
  3. Report issues to the TrustBridge team with:
    • Error messages
    • Steps to reproduce
    • Browser and network information

📚 Resources

ACTA API

API Key Generation

Documentation

🎯 Success Criteria

  • Users can configure ACTA API credentials in TrustBridge settings
  • Users can manually create verifiable credentials for their pool experience
  • Users can view and manage their credentials in a dashboard
  • Credentials can be shared and displayed to build trust
  • Privacy is maintained (no sensitive data exposed)
  • System works on both Testnet and Mainnet
  • Comprehensive error handling and user feedback

🔄 Implementation Phases

Phase 1: Basic Integration

  • ACTA API configuration panel
  • Health check and connectivity validation
  • Basic credential creation interface

Phase 2: Credential Management

  • Credential dashboard and viewing
  • Manual credential creation forms
  • Credential sharing functionality

Phase 3: Enhanced UX

  • Improved credential templates
  • Better credential visualization
  • Enhanced privacy controls

Phase 4: Production Ready

  • Comprehensive testing
  • Security audit
  • Performance optimization
  • Full documentation

🏷️ Labels

enhancement integration credentials privacy defi stellar beta

👥 Assignees

  • Frontend Developer (dApp integration and UI components)

Note: This integration leverages Stellar's Soroban smart contracts platform and ACTA's verifiable credentials system to create a privacy-preserving reputation system for DeFi participants.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions