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

Research: Cross-contract interaction #14

Open
hyeonLewis opened this issue Jul 18, 2022 · 2 comments
Open

Research: Cross-contract interaction #14

hyeonLewis opened this issue Jul 18, 2022 · 2 comments
Assignees

Comments

@hyeonLewis
Copy link
Member

js에서 contract의 함수를 call하는 것뿐만 아니라, contract간에서도 함수를 어떻게 call하는지에 대한 방법/개념적인 리서치가 필요합니다.

@isuchan0212
Copy link
Contributor

@isuchan0212
Copy link
Contributor

ink! contract에서는 ink! message와 contructor를 call 할 수 있어 delegation이 가능하며 다른 ink! message를 call 할 수 있습니다. 그렇기에 ink! contract 사이에서 function call이 가능한데, 아래의 docs에서 delegator example contract를 통해 어떻게 구현하는지에 대해서 알 수 있는 것 같습니다.
https://ink.substrate.io/basics/cross-contract-calling

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

No branches or pull requests

2 participants