Skip to content

Autogenerate PDA helpers #61

@lorisleiva

Description

@lorisleiva

This part is a key missing component of the autogenerated libraries that have to be added manually.

This requires Shank to capture PDA knowledge and that we "polyfill" that feature to IDLs generated by Anchor.

See metaplex-foundation/shank#23.

I'll provide some concrete examples of generated code below.

Note that it's important for the generated helpers to allow a custom programId to be provided in case we want to override the default program used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions