-
Notifications
You must be signed in to change notification settings - Fork 2
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
Interface research on Soroban contracts #102
Comments
All our contracts are ripe for interfaces. They need to be consistent in the following
Here is an example of the Token specification. |
The interface approach would also solve the issue we have at #103.
|
This specification might prove to be helpful too. |
Is this something the broader community is doing or is just another way of doing it ? |
If we wanna work with soroban, this is the way to go. |
Summary
Soroban contracts provide interfaces that can be implemented in other contracts.
Eg the token and stellar admin interfaces
Motivations
Currently the best use case for this is the marketplace where an interface can be used to manage listings.
In this research part I am gonna be looking at how to approach it this way.
References:
https://github.com/altugbakan/sorodogs/blob/main/contracts/src/interface.rs
Final conclusions
We need to implement interfaces for our contracts.
The text was updated successfully, but these errors were encountered: