Skip to content

Extension Core Spec

Jiyuan Zheng edited this page Jul 29, 2024 · 1 revision

Extension Core provides useful utilities for XCQ program

Feature discovery instructions

hasExtension(id: ExtensionId) -> bool

Crypto functions

blake2_64 blake2_128 blake2_256

Raw storage accessor

readStorage(key: Vec) -> Vec nextKey(key: Vec) -> Vec nextKeys(key: Vec, count: u16, startKey: Option<Vec>) -> Vec<Vec>