| Crates.io | sg-name |
| lib.rs | sg-name |
| version | 1.2.5 |
| created_at | 2022-10-10 00:57:09.446181+00 |
| updated_at | 2023-06-02 03:52:48.262382+00 |
| description | Rust definition of name service metadata, used by Stargaze Names |
| homepage | https://stargaze.zone |
| repository | https://github.com/public-awesome/names |
| max_upload_size | |
| id | 684272 |
| size | 18,643 |
Defines on-chain metadata for Stargaze Names, a Cosmos / Interchain name service.
pub struct NFT {
pub collection: Addr,
pub token_id: String,
}
pub struct TextRecord {
pub name: String, // "twitter"
pub value: String, // "shan3v"
pub verified_at: Option<Timestamp>,
}
pub struct Metadata {
pub image: Option<NFT>,
pub records: Vec<TextRecord>,
}