nu-proto/types/nft.proto
Mukan Erkin 37862083c4 feat(nu-proto): initial Faz 0 scaffold
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-24 00:00:26 +03:00

20 lines
681 B
Protocol Buffer

syntax = "proto3";
package nu.types;
message Nft {
string nft_id = 1; // same as canonical node_id
string node_id = 2;
string owner = 3; // Address
string collection_id = 4; // empty until CollectionClaim
uint32 depth = 5; // path length from root
repeated string lineage = 6; // ancestor node_ids root → this
int64 minted_at = 7;
}
message Collection {
string collection_id = 1; // leaf node_id of the path
string owner = 2; // Address
repeated string nft_ids = 3; // ordered root → leaf
int64 claimed_at = 4;
}