Skip to content

How to invoke a specific function within a deployed Phat Contract? #29

@a-moreira

Description

@a-moreira

I want to invoke a specific function within a deployed Phat Contract from Anchor by calling anchor::push_message. I know this should be encoded as the data field, but would like further clarification on how to do it.
I've been able to receive responses from this Phat Contract into my Anchor pallet via the OnResponse trait, but not yet to send to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions