Skip to content

Feature proposal: unwrap_lamports instruction #773

@joncinque

Description

@joncinque

Problem

As outlined clearly in solana-program/token#87, users want to move lamports from a wrapped SOL account into any other account. This avoids needing to create and close wrapped SOL accounts constantly.

Proposed Solution

Do the same thing as solana-program/token#87, and add a new instruction for discriminant 45 which transfers all lamports to some amount of lamports from a wrapped SOL account into any other account.

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