Skip to content

How to use a private key in this API? #218

@damlaHolo

Description

@damlaHolo

Not sure if I am missing some documentation around this, if I am please point me to the right place.

I need to implement some features to the app I am building, I have managed to use Metaplex Solana.Swift HotAccount to create a wallet, and use its public key to retrieve NFTs. I have not managed to use a private key to, say, retrieve the account mnemonic phrase. Are these functions not available? If not, what should I be using?

I can see that there is a function called "SendSol". It seems to take in an account object presumably attached with private key? How does this process work? Where is the documentation I can use to investigate?

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