Skip to content

How to use resize_legacy_inscription_as_uauth / what is uauth? #70

@zpalmtree

Description

@zpalmtree

Hey, sorry for another ticket. Looking into resize after our discussion before.

From what I can tell we're meant to use the libreplex legacy library to interact with the libreplex inscriptions contract.

I think I figured out the correct way to form a resize_legacy_inscription_as_uauth transaction, my accounts seem to match up to a working resize, but is failing with > Program log: AnchorError occurred. Error Code: BadAuthority. Error Number: 6002. Error Message: Bad authority.

My guess is this instruction is meant to be used while the user is creating the inscription, and once its created, I should instead use resize_legacy_inscription_as_holder - but that instruction is commented out.

Here's an example of one of my attempts: https://solscan.io/tx/558XRXN72sDB4fkw4AYbGoSxi1bMGnx5r2HPu2HVTfALmq1aQ55U3aZTApXSurFxz7fUgeo6zZmERHhmcnr7PoV2

My accounts:

image

Working instruction i found on solscan during a Inscribe transaction:

image

Only real difference in accounts is the signer, so I think I'm not understanding how the authorization process works

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