Looking for JSON data files? Check here
Via Bun:
bun install mfers
import { getMfers, findMfers, describe } from 'mfers';
returns an ordered array of mfer metadata. Index in array = mfer token id (mfer #6308 ~> mfers[6308]
)
import { getMfers } from 'mfers';
let mfers = getMfers()
mfers[6308].id // ~> 6308
mfers[6308].traits
// {
// background: "blue",
// type: "plain mfer",
// eyes: "regular eyes",
// "hat under headphones": "bandana dark gray",
// headphones: "black headphones",
// mouth: "flat",
// smoke: "cig white",
// }
// shortcut to iterate over traits
for(let [trait,variant] of mfers[6308]){
console.log({ trait, variant })
}
An object containing all possible variations for each trait
import { traits } from 'mfers';
Object.keys(traits)
// ~> [ "chain", "hat over headphones", "short hair", ... ]
traits['chain']
// ~> [ "silver chain", "gold chain" ]
traits['hat over headphones']
// ~> [ "cowboy hat", "top hat", "hoodie", "pilot helmet" ]
A function that describes arbitrary trait combinations using plain english, ideal for LLMs and GPTs. This was used for MferGPT
mfers is an NFT collection that lives on the Ethereum blockchain with metadata stored on IPFS. Instead of manually downloading and parsing 10k JSON files, you can just import this library! The metadata is stored in a compressed format, reducing the network payload by 100x
- Tailored media generators
- mfer dapp theming (color schemes + trait-specific designs)
- Derivative projects
- Sniping aesthetic trait combinations
mfers (by sartoshi) is a cc0 project, giving creators and developers the freedom to build things like this. Enjoy mfers ~