Genify.XYZ
  • About Genify
    • Vision & Mission
    • Key Features
      • Shared Royalty Transaction Protocol
      • The Curation System
      • Prosperous Multi-Chain Art Platform
      • Full-stack Infrastructure
  • Guide for Artists
    • Knowledge requirements
    • Collection Document Requirements
    • Display material for project tips
    • Deterministic random function
    • Provide attributes to your artworks
    • Capture settings
    • FAQ for Artist who want drop on Conflux
  • Guide for Collectors
    • Add and configure networks
    • Receive LAMB MainNet Early Bird Rewards
    • Mint and Trade Generative Artwork on the Genify Platform
    • Participate in the Incentive Pool
  • Generative Inscription
    • What Are Ordinals? Bitcoin NFTs Explained
    • Guide for Artists
      • FAQ for Artists
      • Knowledge requirements
      • Step-by-Step Publish
      • Code Compliance
  • Guide for Curators
    • FAQ for Curators
Powered by GitBook
On this page
  1. Guide for Artists

Provide attributes to your artworks

  • The attribute is a Map, the key is the attribute name, and the value is the attribute value. The attribute value can be suggested to use string, number, or boolean value type.

  • You can set the properties of your work through Genify.setGenFeatures() every time you render, so that your work can have scarcity in Genify.

var features = {
    "eyes": "blue",
    "hair": "brown",
    "skin": "white",
    "clothes": "red",
    "accessories": "none"
};
Genify.setGenFeatures(features);
  • You can also directly set the properties of your works through window.$genFeatures on the page, so that your works can have scarcity in Genify.

window.$genFeatures = {
    "eyes": "blue",
    "hair": "brown",
    "skin": "white",
    "clothes": "red",
    "accessories": "none"
    };
PreviousDeterministic random functionNextCapture settings

Last updated 1 year ago