For the complete documentation index, see llms.txt. This page is also available as Markdown.

MsgCreateDynamicStore

Creates a new dynamic store for boolean key-value storage. New stores are created with globalEnabled = true by default, meaning the store is active and can be used in approval criteria.

Proto Definition

message MsgCreateDynamicStore {
  string creator = 1; // Address creating the dynamic store
  bool defaultValue = 2; // Default boolean value for uninitialized addresses
  string uri = 3; // Optional: URI for additional metadata or resources
  string customData = 4; // Optional: Custom data field for arbitrary data
}

message MsgCreateDynamicStoreResponse {
  string storeId = 1; // ID of the created dynamic store
  repeated string reviewItems = 2; // Advisory review items about the transaction
}

Response

The response includes:

  • storeId: The ID of the newly created dynamic store

  • reviewItems: Advisory strings about the transaction (see Review Items)

Usage Example

JSON Examples

Basic example (without metadata):

With optional metadata fields:

Metadata Fields

Both uri and customData are optional fields:

  • uri: URI for additional metadata or resources associated with this dynamic store. Typically used for URLs pointing to hosted JSON metadata or documentation. No validation is performed on the URI format.

  • customData: Custom data field for storing arbitrary string data. Commonly used to store JSON-encoded structured data, but can contain any string value. No validation is performed on the content.

Last updated