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

Standard for canister metadata registry #109

Open
dostro opened this issue Dec 13, 2024 · 1 comment
Open

Standard for canister metadata registry #109

dostro opened this issue Dec 13, 2024 · 1 comment

Comments

@dostro
Copy link

dostro commented Dec 13, 2024

Reserving for getting information about a canister (i.e. name, description, logo) in a way that would provide high certainty against impersonation attacks

@dostro dostro changed the title Standard for canister information Standard for canister metadata registry Dec 13, 2024
@rem-code-s
Copy link

As reference, i was working on this as wel calling it the internet computer toolkit standard but putting it under icrc makes more sense

#[query]
fn icts_name() -> String {
    env!("CARGO_PKG_NAME").to_string()
}

#[query]
fn icts_version() -> String {
    env!("CARGO_PKG_VERSION").to_string()
}

#[query]
fn icts_description() -> String {
    env!("CARGO_PKG_DESCRIPTION").to_string()
}

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