Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Feature Proposal: Treasury Account #44

@ebrightfield

Description

@ebrightfield

Problem:
Currently, it is difficult to use multisig signers as funders of lamports, and it requires downstream implementations to use modify lamports directly instead of using a Transfer system instruction. This potentially prevents the use of a Squad as an authority, creator, and/or funder of various account types in the ecosystem. Sometimes there are workarounds, e.g. if there is a separate "funder" field where a system-program owned account can be specified, but this is not always the case and furthermore requires the use of nonce accounts due to time constraints assocaited with recent blockhashes.

Solution:
Each Squad could have a System-program owned PDA derived from the Squad's public key. The Squads MPL program could then sign using that PDA on proposals that involve the use of that address as a signer, thus allowing for direct use of the system program instructions to create accounts and transfer lamports. This greatly expands the possible use cases.

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