You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm finding ways to let my program interact with other programs. While there is interface in solidity and you only need to know the address that you wanna call and apply the appropriate interface to that address, I may need IDL to do the similar thing in solana.
I've read the guide of anchor for cross program invocation. Just really don't like it. It means you have to clone other program's source code into your project. Then I found IDL to work like an interface that could solve the problem of source code. And then I found this tool for generating rust code from the IDL json file. So I'm trying to split the examples in anchor guide puppet and puppet-master into two seperate repos. And I'm trying to use anchor-gen within puppet-master repo in order to invoke puppet. But I ran into this error
Just a newbie to rust and solana.
I'm finding ways to let my program interact with other programs. While there is interface in solidity and you only need to know the address that you wanna call and apply the appropriate interface to that address, I may need IDL to do the similar thing in solana.
I've read the guide of anchor for cross program invocation. Just really don't like it. It means you have to clone other program's source code into your project. Then I found IDL to work like an interface that could solve the problem of source code. And then I found this tool for generating rust code from the IDL json file. So I'm trying to split the examples in anchor guide
puppet
andpuppet-master
into two seperate repos. And I'm trying to useanchor-gen
withinpuppet-master
repo in order to invoke puppet. But I ran into this errorpuppet within puppet-master repo
what i'm using
puppet idl json
The text was updated successfully, but these errors were encountered: