grants-program icon indicating copy to clipboard operation
grants-program copied to clipboard

Advancing GameFi on Stacks: Infrastructure & Development

Open BowTiedSirJonathan opened this issue 1 year ago • 1 comments

APPLICANT

Type:                                                                        Direct Application

Email:                                                                    [email protected]

Discord:                                                    BowTiedSirJonathan#5158

Twitter:                                                        BowTiedSirJonat

Stacks Forum:           

GRANT BASICS

Grant Name:                                        Advancing GameFi on Stacks: Infrastructure & Development

Total Budget:                              160,000

Total Duration:                 2,900

Grant Type:                                               Open Source Dev Repeat Grantees

Grant Track:                                          Stacks dApps & Clarity

Grant Goal:                                               Improve Existing Technologies

Grant Audience:             Developers

Specific Audience:         Game Developers and Studios who can potentially build on Stacks. This grant creates an easier process for them to port to web3 from web2 by developing the infrastructure needed.

Grant Team:                                       BowTiedDeployer,Alexandrescu

Previous Grants:                      https://grantsdashboard.stacks.org/dashboard/grants/301

Ecosystem Programs:      Completed Stacks Accelerator

GRANT MISSION, IMPACT, RISKS & REFERENCE

Grant Mission:         We believe there is huge potential for GameFi to take off on Stacks, but Stacks needs more infrastructure to support it. By developing the necessary infrastructure, we can attract more game developers and gaming companies to build in web3, specifically on Stacks.

The R&D report studies and compares the main blockchains, analyzes how GameFi helps in increasing adoption and concludes on what can be done on Stacks to facilitate the adoption that happened on other chains. It highlights the development solutions for Stacks based on its capabilities, resources, what its current infrastructure is and what it will have in the future ( subnets, mobile integrations etc. )

The community GameFi platform is for storing all the useful information in the form of developer documentation. It will bring easier access to information for developers by having everything documented in the same place, such as trustless rewards, customizable NFTs, lootboxes on-chain, message signing, SFTs, subnets and decentralized storage. It will have info such as docs, APIs and examples and will create a broader image to help developers understand what can be done regarding GameFi.

As not all processes can be performed on-chain, especially the game's mechanics, the Auth Message Signing App is a great showcase of the message sign feature. This makes it easier for them to understand and integrate it in their DApps, confirming the authenticated user for future off-chain actions.

Subnets have great speed that would facilitate GameFi on Stacks. By completing actions in close to real-time, users are able to play the game consistently, making it a much better experience. Subnets add another layer of complexity for integrating the smart contracts. That’s why we’ll create a general subnet on testnet for early GameFi projects where users and game developers can interact with SFTs directly. Games have a lot of throughput given their high number of transactions, so different games, especially big games, should have different subnets removing any congestion problem this way. For this, we’ll create an easy way in which subnets can be deployed by developers enabling them to host their games there. We are speaking with the Hiro team and, as the progress will also depend on the development on their side, we aim to have this ready by the end of Q1 2023 when subnets are expected to be launched on mainnet.

Will highlight specific APIs that might be useful for GameFi and the contexts that they could be used.

Best way to get people to know about how to actually use the SFTs and Subnets is through a tutorial which will showcase them and how they interact.

Besides on-chain data, there is also data too big that has to be stored off-chain, but it can still be decentralized using storage solutions such as Gaia and Pinata. We’ll provide a Gaia integration to host game resources ( map, NPCs and other rendered resources that are not owned by players ) and modular scripts to host the SFTs and NFTs images and JSONs on Pinata or Gaia.

Having new builders on Stacks is important, that is what we are trying to achieve by building the infrastructure for them to use. We’ll continue onboarding new builders into the GameFi Space and reach out to developers and companies interested in Blockchain gaming.

Grant Impact:               
Views of the platform will tell how many people are learning and trying to build on GameFi following the documentation. There will also be people preferring to follow the tutorials and learn directly from them, so the subscribers are also an indicator. Number of people registering to participate at the workshop. Increase in the number of DApps using message signing. The number of smart contracts related to SFTs following the structure for GameFi SFTs. The number of apps that interact with SFTs. The smart contracts for SFTs deployed on subnets and the number of subnets used for GameFi.

Grant Risks:                           General: The infrastructure we are building for GameFi is built on top of the infrastructure built for Stacks, SFTs, subnets, auth message signing, NFT integration into a game, Gaia. This means that the GameFi infrastructure will work as long as the layer below it, APIs, stacks.js libraries and other resources will continue working. If some APIs become obsolete, they should be replaced with the new ones that do those tasks.

SFT: SIP013- SFT is a general improvement proposal, being useful for art, games and other on-chain representations. Because of this, some fields can be needed specific for GameFi implementations but missing from the SIP requirements. We’ll keep track of them and integrate with the scripts what is needed on top of the general structure.

Post conditions are not natively developed for SFTs but there are solutions presented by Marvin, creator of STFs on Stacks.

If marketplaces will not adopt them in the near future, the market for them will take longer to open and their trading capacities will be limited for the end users. The SFTs will still be on-chain confirming the interactions in games and having full transparency of the stats, doing their main purpose. On top of it, anybody who wants, could develop a marketplace specific for them on top of the smart contracts.

Subnets: In the case of subnets, some things are still in the developed phase, but will be ready before we’ll develop on top of them. Depending on how the stable mainnet version of subnets will look like, the process for setting GameFi subnets could be easier or harder for the developers. We’ll keep in close touch with the Hiro development team to sync with them and have the best way to help the developers integrate these GameFi subnets.

Support Link:                                     

GRANT ROADMAP & DELIVERABLES

MILESTONE 1:

Deliverable:                   

  • R&D
  • Platform storing all, current and future, main resources corresponding to GameFi
  • Integrating with the team in order to beta test features and provide feedback
  • Continuous onboarding of new builders into the Stacks GameFi Space

MILESTONE 2:

Deliverable:                   

  • Auth Message Signing App
  • Continuous reach outs to developers and companies interested in Blockchain gaming
  • The Future of On-Chain Gaming With Stacks
  • Develop and update the platform with the new info

MILESTONE 3:

Deliverable:                   

  • Integration of NFTs into a game through a GameFi Programming Tutorial - documented and workshop
  • Integrating with the team in order to beta test features and provide feedback
  • Continuous reach outs to developers and companies interested in Blockchain gaming
  • Continuous onboarding of new builders into the Stacks GameFi Space
  • Develop and update the platform with the new info

MILESTONE 4:

Deliverable:                   

  • SFTs: Smart Contracts for GameFi storing on-chain data that games had prior off-chain in web2
  • Develop and update the platform with the new info

MILESTONE 5:

Deliverable:                   

  • SFTs: Advanced Smart Contracts, making deployment of new items possible using multiple smart contracts that interacts between them
  • Develop and update the platform with the new info

MILESTONE 6:

Deliverable:                   

  • SFTs: Scripts for minting and upgrading items/buildings
  • Develop Open Source App which integrates them
  • Develop and update the platform with the new info

MILESTONE 7:

Deliverable:                   

  • Subnets: SFTs helpers ( port SFT, mint SFT, custom subnet for GameFi )
  • General subnet on testnet for early GameFi projects ▪ have SFTs the users and game devs can interact with directly
  • Easy configuration of subnets for GameFi projects with a great number of players/transactions ▪ deploy your specific SFTs smart contract on the subnet
  • Specific highlights for APIs that might be useful for GameFi and the contexts that they could be used in the integrations
  • Develop and update the platform with the new info

MILESTONE 8:

Deliverable:                   

  • GameFi Tutorial: Subnets & SFTs
  • Scripts to storage integration through Gaia / Pinata
  • Develop and update the platform with the new info

FINAL DELIVERABLE

Deliverable:                   The final deliverables will be an R&D report detailing the key success factors of web3 GameFi as well as a proposal outlining what we need to do to advance GameFi on Stacks specifically, an Auth Message Signing App, a tutorial about how to integrate NFTs into a game, smart contracts using SFTs for GameFi integrations and the backend scripts that can interact with them, subnets that integrate the SFT smart contracts (pending the launch and completion of subnets), a tutorial on how to integrate SFTs on subnets and scripts for decentralized storage through Gaia/Pinata.

image image image image image image image image image image image image image

BowTiedSirJonathan avatar Nov 16 '22 02:11 BowTiedSirJonathan

👋 @BowTiedSirJonathan Thanks for your application! We will do a pre-review and let you know if we have any immediate questions. In the mean time please refer to our review schedule here for a detailed timeline and response dates. Best, Will

stacks-foundation avatar Nov 16 '22 02:11 stacks-foundation