# ⚡Spark ## [ tl;dr ] Spark will become the **shop.app + opensea for NPCs, built on NIM**. It will be 1) a core web3 primitive similar to ERC-721, and 2) the best end-to-end solution for building and monetizing Sparked NPCs. ## Abstract **Sparked NPCs** are previously minted NFTs that are sparked via the Spark Protocol. They are deployed as ERC-6551s and minted a Spark Identity NFT, allowing them to act as sentient NPCs across virtual worlds, both off and on chain. In the near-term, [sparknpc.xyz](https://sparknpc.xyz) is a playground for NFT owners to **spark** any NFT they own into an NPC, allowing it to: * change the rendering of its static image to animated videos and 3D meshes so it can be usable in any game, * converse and roleplay with the owner and other NPCs, * attach an AI model that allows it to behave autonomously across the model's designated virtual environment, and * perform future game mechanics to be created by partner protocols and game developers All the while retaining all the features it has as an NFT, accruing value and participating in other on-chain apps for NFTs such as trading platforms, rental platforms, etc. > #### Spark alpha at [dev.spark.arcadia.fun](https://dev.spark.arcadia.fun) [Demo Video 👈](https://drive.google.com/file/d/1HuuPKyxyMGrhY9NshUcft3HqycHoDLfn/view?usp=sharing) ![image](https://hackmd.io/_uploads/B1pmvc3J0.png) In the long-term, Spark will build out an end-to-end solution for NFT creators and AI trainers to create NFT collections that make use of the affordances of blockchain and generative AI. They will accrue novel economic value and will be an important primitive in new, exciting forms of on-chain content. The goal for Spark is to be the middleware for the top 1000 NFT collections and upgrade them with generative AI capabilities. Similar to how shop.app is integrated into the top storefronts, Spark will be the backbone of most future NPC offerings. #### Example Shop.app integration with iam8bit ![image](https://hackmd.io/_uploads/SkkBejhkA.png) This integration in a multitude of NFT collections will also allow Spark to have its own aggregation site, [shop.sparknpc.xyz](https://shop.sparknpc.xyz), which will serve as both a discovery platform and an online community for NFT creators and NPC adopters. #### Example shop.app storefront ![image](https://hackmd.io/_uploads/By24cO3yR.png) ## NPC.institute ![image](https://hackmd.io/_uploads/rkROMpzxC.png) Spark will need learning resources and developer community building, which will be addressed by [npc.institute](https://npc.institute). It will contain: * A NIM-focused getting started framework built on [scaffold.eth](https://github.com/scaffold-eth/scaffold-eth-2) * Gamified tutorials similar to the [buidlguidl](https://app.buidlguidl.com/) * Dedicated workflows to get developers from 0 to 100: how to start an NFT collection, spark an NFT, and then deploy on [shop.sparknpc.xyz](https://shop.sparknpc.xyz) * Community engagement via regular articles, dedicated communication channels and IRL engagements ## IRL Engagements * NPC Days: https://www.npcday.org/ ![image](https://hackmd.io/_uploads/B1hw80GgC.png) * Gamedev.js: https://gamedevjs.com/jam/2024/ ## Integration with NIM Protocol NIM is the perfect platform to deploy Spark on, with its focus on Gaming + AI + ERC-6551, and a community of 435k AI game-oriented users who are waiting to use agents. * Deployment of Spark Identity Registry on NIM Protocol * Native Integration of [shop.sparknpc.xyz](https://shop.sparknpc.xyz) and [npc.institute](https://npc.institute) * Utilization of tokens on NIM to monetize Spark transactions and incentivize creators ## Meme / Branding Strategy Based on current popular media and indie games, the below style guide can differentiate Spark and can be used for [npc.institute](https://npc.institute) and for building content * - Glitchcore / Glitchwave - Dark colors with pops of neons / pastel - glitch graphics (tv white noise, glitching screens) - Retro - pixel / low-poly graphics - old tech (vinyl, cassettes, circuit boards, tv scanlines) NPCs are breaking the fourth the wall and becoming sentient / meta. They make us question who are NPCs and main characters by discussing agency, philosophy and meaning (Let’s not make it too in-your-face though and have them do it subtly and via comedy/analogy) ![Untitled video - Made with Clipchamp (9) (1)](https://hackmd.io/_uploads/Hk-3tazxC.gif) ![Untitled](https://hackmd.io/_uploads/SJnhY6fg0.png) #### Reference Media: - Cassette Beasts - Pony Island - Inscryption - Solo Leveling - end credits - https://www.youtube.com/watch?v=CRZsOOOvg1I ## Roadmap ## Token Allocation ## References * NIM Improvement Proposals: * https://www.notion.so/nim-improvement-proposals-25df794f2d924724940e2c877fc97799?showMoveTo=true&saveParent=true * https://agreeable-legend-7d3.notion.site/sparked-nim-ca34fe2ad64f4f71b7adccdb9ca22080?pvs=4 * Token Model Training for Games: * SIMA - https://deepmind.google/discover/blog/sima-generalist-ai-agent-for-3d-virtual-environments/ * LLM Colosseum - https://github.com/OpenGenerativeAI/llm-colosseum * ERC-7007 for zk Publishing: https://eips.ethereum.org/EIPS/eip-7007