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

Extension Spec: Core #10

Open
xlc opened this issue Apr 29, 2024 · 0 comments
Open

Extension Spec: Core #10

xlc opened this issue Apr 29, 2024 · 0 comments

Comments

@xlc
Copy link
Member

xlc commented Apr 29, 2024

The core extension. Should provide commonly used features.
Need to balance between having too many features vs too less. Some less commonly used features could be on another extension for example.

  • Feature discovery instructions
    • hasExtension(id: ExtensionId) -> bool
  • Crypto functions
    • blake2_64
    • blake2_128
    • balke2_256
    • ...
  • Raw storage accessor
    • readStorage(key: Vec) -> Vec
    • nextKey(key: Vec) -> Vec
    • nextKeys(key: Vec, count: u16, startKey: Option<Vec>) -> Vec<Vec>
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

1 participant