Skip to main content
added 2 characters in body
Source Link
man0s
  • 710
  • 4
  • 11

Yes it is, but afaik there is not automated solution yet, although I believe @acheron was working on something in that vein.

A few of them are implemented and available already:

There is actually an #idl-all-the-things channel in the Anchor Discord for that purpose.

The general idea of how to come up with it is to:

  • create a "shell" Anchor crate mirroring the structs and endpoints of the original program, like here (all currently IDL-ized vanilla programs are available here)
  • run the idl generation on it using anchor idl parse
  1. create a "shell" Anchor crate mirroring the structs and endpoints of the original program, like here (all currently IDL-ized vanilla programs are available here)
  2. run the idl generation on it using anchor idl parse

Yes it is, but afaik there is not automated solution yet, although I believe @acheron was working on something in that vein.

A few of them are implemented and available already:

There is actually an #idl-all-the-things channel in the Anchor Discord for that purpose.

The general idea of how to come up with it is to:

  • create a "shell" Anchor crate mirroring the structs and endpoints of the original program, like here (all currently IDL-ized vanilla programs are available here)
  • run the idl generation on it using anchor idl parse

Yes it is, but afaik there is not automated solution yet, although I believe @acheron was working on something in that vein.

A few of them are implemented and available already:

There is actually an #idl-all-the-things channel in the Anchor Discord for that purpose.

The general idea of how to come up with it is to:

  1. create a "shell" Anchor crate mirroring the structs and endpoints of the original program, like here (all currently IDL-ized vanilla programs are available here)
  2. run the idl generation on it using anchor idl parse
Source Link
man0s
  • 710
  • 4
  • 11

Yes it is, but afaik there is not automated solution yet, although I believe @acheron was working on something in that vein.

A few of them are implemented and available already:

There is actually an #idl-all-the-things channel in the Anchor Discord for that purpose.

The general idea of how to come up with it is to:

  • create a "shell" Anchor crate mirroring the structs and endpoints of the original program, like here (all currently IDL-ized vanilla programs are available here)
  • run the idl generation on it using anchor idl parse