Skip to content

Missing accounts marked as signers in JS Client #58

@EnriqueL8

Description

@EnriqueL8

I'm confused why the JS Client does not mark the accounts needed for signing as signers, for example when creating a transfer instruction

const originalAccounts = {
source: { value: input.source ?? null, isWritable: true },
destination: { value: input.destination ?? null, isWritable: true },
};

It marks both accounts as WRITEABLE.

In createAccount as well,

const originalAccounts = {
payer: { value: input.payer ?? null, isWritable: true },
newAccount: { value: input.newAccount ?? null, isWritable: true },
};

Why is this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions