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

Create a tutorial for sharing interfaces and clients between contracts in a workspace #679

Open
leighmcculloch opened this issue Jun 13, 2024 · 5 comments

Comments

@leighmcculloch
Copy link
Member

We've seen some use of a pattern where in a multi-contract workspace the interfaces of called contracts are placed in an rlib crate, which also uses the contractclient macro to generate a client for the interface. The implementation then implements the interface and contracts that must call it can use the interface-generated contract client.

This is somewhat related to:

@Gift-Naomi
Copy link

@leighmcculloch Can i work on this?

@briwylde08
Copy link
Contributor

Hi @Gift-Naomi! Just FYI, this is also not a part of the docs bounty. Look for the issues tagged with the Docs Bounty label for those! But of course if you'd like to work on this outside of the bounty, that is great!

@Gift-Naomi
Copy link

Hi @Gift-Naomi! Just FYI, this is also not a part of the docs bounty. Look for the issues tagged with the Docs Bounty label for those! But of course if you'd like to work on this outside of the bounty, that is great!

Alright then!
I will like work on it
But there will be incentives right?

@briwylde08
Copy link
Contributor

There aren't any incentives for this at this time, let me take it back to the team and see if we can add it to the bounty.

@Gift-Naomi
Copy link

There aren't any incentives for this at this time, let me take it back to the team and see if we can add it to the bounty.

Okay sir I’ll be waiting to hear from you
Thank you.

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

No branches or pull requests

3 participants