stellar / rs-soroban-sdk

Rust SDK for Soroban contracts.
Apache License 2.0
128 stars 67 forks source link

Ease Cross-Contracts dependencies #1379

Open tupui opened 1 month ago

tupui commented 1 month ago

What problem does your feature solve?

This started as a Twitter conversation after Tomer's request for feedback. Thanks again for the outreach 🙇

https://x.com/PamphileRoy/status/1848414906070278633

As the ecosystem grows, more and more small contracts will be created. Leveraging these contract will enable people to build faster, in a modular way and with confidence.

A few pieces are missing to make this a smooth process. Error handling is one thing (already being discussed there) and here I would like to focus on the dependency management itself.

For context, I am building Tansu.dev and I am depending on Soroban Domains. Everything is public if that helps:

https://github.com/tupui/soroban-versioning/tree/main/contracts

What would you like to see?

Christmas list on top of my head 😄

What alternatives are there?

Solutions like Trustful (providing badges) or Tansu (soon to integrate Trustful and on-chain help to validate code and maintainers) are eventually going to help by providing a way to keep contracts and maintainers in check. But that only contribute to securing the supply chain, not improve the DX.