0xMiden / 0xMiden/protocol

Data format for non-fungible asset data

Abierto
#4 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
132
Forks
167
Merge medio
1 d 23 h
PR fusionados (30 d)
110

Descripción

Currently, data for non-fungible assets is stored as a simple vector of bytes. It could be good to add some structure to this (see https://github.com/0xPolygonMiden/miden-base/pull/2#discussion_r1049525892). The key properties that we'd like to have for NFA data are:

- The data should be serializable into bytes.
- Hash of the data should depend on semantic properties rather than formatting. For example, whitespace or field order changes should not affect data hash.
- The data should be reducible to a display string which reflects internal content. For example, we could iterate over internal fields and show a value for each field.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.