Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poc: Architecture Proposal for USDC Cross-Chain Integration #5

Closed
techrebelgit opened this issue Dec 5, 2024 · 11 comments
Closed

poc: Architecture Proposal for USDC Cross-Chain Integration #5

techrebelgit opened this issue Dec 5, 2024 · 11 comments

Comments

@techrebelgit
Copy link
Contributor

techrebelgit commented Dec 5, 2024

GitHub Issue: Architecture Proposal for USDC Cross-Chain Integration

Description

This task involves creating a detailed architecture proposal for integrating a USDC cross-chain solution into Trustless Work. The focus is on enabling seamless transfer of USDC between Stellar's Soroban smart contracts and other blockchain networks to make Trustless Work a multichain-capable platform. The proposed architecture will later serve as the foundation for a Proof of Concept (PoC).

Tasks

  1. Research and Propose Potential Solutions:

    • Investigate and document the technical capabilities, features, and limitations of:
      • Bridging Protocols: Allbridge, Multichain, or other viable alternatives.
      • Exchanges: Feasibility of using centralized or decentralized exchanges for cross-chain swaps.
      • Custom Solutions: Potential for building a custom cross-chain mechanism using existing tools.
  2. Apply with the Proposed Solution:

    • Define the potential solution you want to propose, including:
      • The proposed solution and how it aligns with Trustless Work.
      • Any previous experience or knowledge relevant to the proposed solution.
    • Upon acceptance, the applicant will:
      • Investigate and document the technical capabilities, features, and limitations.
      • Define key requirements for integration, including:
        • Support for sending and receiving USDC between Stellar and other chains (e.g., Ethereum, Solana, Polygon).
        • Security measures, including protection against exploits and fraud.
        • Scalability to handle increasing transaction volumes.
  3. Develop the Architecture Proposal:

    • Create a high-level diagram showing the components and their interactions.
    • Define the roles of key elements:
      • Trustless Work Escrow Contracts: Interaction points with cross-chain solutions.
      • Cross-Chain Bridges/Exchanges: Mechanism for USDC transfers.
      • Oracles (if applicable): For validating and synchronizing cross-chain transactions.
    • Detail the workflows for:
      • Depositing USDC on Stellar and transferring to another chain.
      • Receiving USDC from another chain into Stellar.
    • Include annotations for:
      • API endpoints or smart contract calls.
      • Trigger points for events (e.g., deposit, withdrawal, validation).
  4. Consider Edge Cases and Risks:

    • Address potential edge cases, such as partial transactions, delays, or failures in bridging mechanisms.
    • Propose solutions for handling disputes or reconciliation in cross-chain transactions.
  5. Draft Documentation:

    • Summarize the proposed architecture in a written document.
    • Include diagrams, workflows, and explanatory text to ensure clarity.
    • Submit the proposal for at least one feedback round.
    • Incorporate feedback and finalize the architecture document.
  6. Proposal Submission Process:

    • Applicants should carefully read these instructions.
    • Define the potential solution they want to propose and apply to this task by submitting:
      • The proposed solution and how it aligns with Trustless Work.
      • Any previous experience or knowledge relevant to the proposed solution.
    • Accepted proposals will result in a new issue being published and assigned to the applicant. Multiple proposals may be accepted.

Acceptance Criteria

  • A comprehensive architecture proposal is created, including:
    • High-level diagrams and detailed workflows.
    • Documentation of the proposed solution and its components.
    • Consideration of security, scalability, and compliance requirements.
  • The architecture proposal is reviewed and approved by at least two team members.
  • The final document is uploaded to the project documentation repository for future reference.

Additional Notes

  • This task is limited to architecture and modeling; implementation will follow in a separate PoC phase.
  • Prioritize solutions that are open source, well-documented, and actively maintained.
  • Ensure that the proposed architecture aligns with the goals and capabilities of Trustless Work.

@techrebelgit techrebelgit added documentation Improvements or additions to documentation Experimentation labels Dec 5, 2024
@techrebelgit techrebelgit added this to the Anchor Integrations milestone Dec 5, 2024
@techrebelgit techrebelgit changed the title Research how Circle CCTP protocol alternatives can be implemented Architecture Proposal for USDC Cross-Chain Integration Dec 8, 2024
@JoelVR17 JoelVR17 changed the title Architecture Proposal for USDC Cross-Chain Integration poc: Architecture Proposal for USDC Cross-Chain Integration Dec 12, 2024
@greatest0falltime
Copy link

Hi,

I’d be thrilled to work on this issue as I have extensive experience with front-end technologies, including React and Next.js.

ETA:
I expect to have a working solution ready within the next 24 hours. Kindly let me know if I can proceed!

Looking forward to contributing!

@1nonlypiece
Copy link

Hi,
I’d like to work on this issue as I have experience developing on the Stellar blockchain and writing efficient, secure code in Rust. My expertise includes building smart contracts, handling blockchain integrations, and ensuring system-level performance.

ETA:
I estimate completing this task in about 12-24 hours. Let me know if I can get started!

@mimisavage
Copy link

Can I tackle this one?

@Benjtalkshow
Copy link

Could I try solving this?

@martinvibes
Copy link

i'm a technical writer, frontend dev and blockchain dev
i would love to work on this and get it done
I’m interested in this one.
kindly assign

@Jagadeeshftw
Copy link

Hi,
I’d love to work on this issue as I have strong experience with both Stellar and Rust. I’ve developed secure and efficient smart contracts, blockchain integrations, and high-performance backend systems. Please assign this to me, and I’ll ensure to deliver a robust and high-quality PR within 12-24 hours.

@ShantelPeters
Copy link

Can I take care of this issue?

@Nityam573
Copy link
Contributor

Can I try solving this issue?

@bestselection18
Copy link
Contributor

May I take care of this?

@Luluameh
Copy link

Can I take this from here?

@od-hunter
Copy link

od-hunter commented Dec 12, 2024

Hi, can I be assigned this please? I am a blockchain developer and I'm also good at documentations. Below are some of the documentations I've done that were merged:

dojoengine/book#308,
keep-starknet-strange/joyboy#143,
Scaffold-Stark/ss2-docs#31,
horuslabsio/Starknet-Scaffold#94,
Hyle-org/examples#15,

For this issue, I'll:

  1. I'll conduct API research on Moonpay endpoints and transaction flow. Then define an integration architecture for passing escrow ID, initiating payment, and depositing USDC on Stellar. I'll now document Moonpay’s parameters, callbacks, and Stellar wallet setup.
  2. Next, I'll clone the Trustless Work escrow dApp then develop a Moonpay integration module and create an input form with React or Next.js for entering escrow ID and payment details. I'll use fetch API to interact with Moonpay for payment initiation. I'll now integrate Stellar SDK to execute USDC deposits to escrow contracts.
  3. Lastly, I'll use Moonpay’s sandbox environment to test card payments, validate escrow balance updates on the Stellar testnet and log and handle errors during payment and fund transfers. I'll now provide a README.md with setup instructions, environment variable configurations, and code comments. I'll makwe sure to summarize findings, integration diagrams, and any challenges.

Please I’m ready to work, assign me please.

ps; I think onlydust is broken as I can't seem to be able to apply via onlydust

@KoxyG
Copy link
Contributor

KoxyG commented Dec 12, 2024

I am very interested in working on this task and contributing to the architecture proposal for USDC cross-chain integration into Trustless Work.

As a Stellar ecosystem contributor, I am deeply familiar with the Stellar network and its capabilities, which positions me well to design a robust and scalable solution for this integration. My skills in blockchain systems, cross-chain interoperability, and smart contract development align perfectly with the requirements of this task.

I am excited about the opportunity to leverage my expertise to help make Trustless Work a multichain-capable platform!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests