Skip to content

raydium.launchpad.sellToken() TypeError null #106

Open
@boy-good

Description

@boy-good

when init Raydium without privateKey, don't work of build sellToken()

const raydium = await Raydium.load({
    connection,
    disableFeatureCheck: true,
    disableLoadToken: false,
    blockhashCommitment: 'finalized',
})
let raydium1 = raydium.setOwner(new PublicKey(user))

raydium1.launchpad.sellToken() and then

TypeError: Cannot read properties of null (reading 'toBase58')

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