MCPcopy Index your code
hub / github.com/ashbeech/moralis-mutants-nft-engine

github.com/ashbeech/moralis-mutants-nft-engine @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
26 symbols 52 edges 7 files 0 documented · 0% updated 4y ago★ 24220 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Moralis Mutants NFT Collection | Generative Art Engine

🧟‍♀️🧟‍♂️ Welcome to Rekt City on behalf of its horribly mutated survivors. 🧟‍♀️🧟‍♂️

About

Aim: Save time and resources for artists and developers by allowing them to generate and host NFT art, across blockchains, in one place (utilising Moralis).

These tutorial videos are a great introduction. Part 1: Link to Moralis YouTube Video Part 2: Link to Moralis YouTube Video

Quick Launch 🚀

Via terminal, navigate to root directory:

npm install

Go to Moralis.io to create your server instance. Then rename .env-example file to .env and add your Moralis server credentials.

Note: To find your xAPI key: https://deep-index.moralis.io/api-docs/#/storage/uploadFolder

Create your layered artwork and split into folders in ./input and configure your collection to match your layer structure and preferences accordingly by editing ./input/config.js:

Finally, via terminal in the project directory run:

node index.js

This injects the mutagen that will bring your Moralis mutants ALIVE!

Minting ⛓

Copy Solidity contract to ⚙️ Remix IDE for test and deplyment, but first edit code to point to your meta data's IPFS folder 'metahash/CID'. You can get this, saved in dasboard of your Moralis server instance in row of 'metahash' column.

constructor()
    ERC1155(
        "ipfs://INSERT_YOUR_CID_METAHASH/metadata/{id}.json"
    )
{

Dependencies 🏗

moralis: ℹ️ Docs

canvas: ℹ️ Docs

Todos ✅

  • [x] NFT contract allowing tokens to be minted and tranferred for Opensea.
  • [ ] Users can mint NFT collection via custom dapp frontend.
  • [ ] Compatibility across-chains (SOL/MATIC).
  • [ ] Much more TBA.

Community BUIDLing 👨‍🔧👩‍🔧

Core symbols most depended-on inside this repo

addLayer
called by 9
input/config.js
createDna
called by 2
src/dna.js
startCreating
called by 1
index.js
handleFinal
called by 1
index.js
signImage
called by 1
src/canvas.js
genColor
called by 1
src/canvas.js
drawBackground
called by 1
src/canvas.js
loadLayerImg
called by 1
src/canvas.js

Shape

Function 26

Languages

TypeScript100%

Modules by API surface

src/canvas.js5 symbols
input/config.js5 symbols
src/metadata.js4 symbols
src/dna.js4 symbols
src/rarity.js3 symbols
src/filesystem.js3 symbols
index.js2 symbols

For agents

$ claude mcp add moralis-mutants-nft-engine \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page