Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add memo when creating a vault #43

Closed
dannpl opened this issue Oct 24, 2023 · 1 comment
Closed

Add memo when creating a vault #43

dannpl opened this issue Oct 24, 2023 · 1 comment

Comments

@dannpl
Copy link

dannpl commented Oct 24, 2023

We going to create a open source socialFi for slide.

We want to add a flag to find easy if the vault is created by Slide

https://github.com/slide-labs/slide-socialfi

it's helpfully if add a memo

#[assert_no_slop]
#[account(zero_copy)]
#[derive(Default, Eq, PartialEq, Debug)]
#[repr(C)]
pub struct Vault {
    /// The memo of the vault. (e. g Slide - Vault)
    pub memo: [u8; 32],
@dannpl dannpl closed this as completed Oct 24, 2023
@0xbigz
Copy link
Member

0xbigz commented Oct 24, 2023

using prefix/suffix for names can achieve a similar thing

@0xbigz 0xbigz closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants