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 · 6 comments · May be fixed by #1106
Open

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

leighmcculloch opened this issue Jun 13, 2024 · 6 comments · May be fixed by #1106
Assignees

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:

@Mystic-Nayy
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!

@Mystic-Nayy
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.

@Mystic-Nayy
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.

@briwylde08
Copy link
Contributor

Hi @Gift-Naomi! I've chatted with the team and we're not going to turn this into a bounty at this time. Please feel free to look at any issues labeled with the Docs Bounty label to see if there's anything you'd like to work on!

@Ifropc Ifropc self-assigned this Nov 26, 2024
@Ifropc Ifropc linked a pull request Nov 29, 2024 that will close this issue
@Ifropc Ifropc linked a pull request Nov 29, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

5 participants
@leighmcculloch @Ifropc @briwylde08 @Mystic-Nayy and others