MsgCreateDynamicStore
Creates a new dynamic store for boolean key-value storage.
Proto Definition
message MsgCreateDynamicStore {
string creator = 1; // Address creating the dynamic store
bool defaultValue = 2; // Default boolean value for uninitialized addresses
}
message MsgCreateDynamicStoreResponse {
string storeId = 1; // ID of the created dynamic store
}Usage Example
# CLI command
bitbadgeschaind tx badges create-dynamic-store [true|false] --from creator-keyJSON Example
{
"creator": "bb1...",
"defaultValue": false
}Last updated