The goal of this project is to create a decentralized and community-driven MetaVerse style game.
This repo includes the front-end game in which users can play and interact with the game on the Polygon Network and offchain data.
Looking to help out? Read our contributing docs
By contributing you agree to our terms and services
https://sunflower-land.com/play
Read the official docs/ litepaper here: docs.sunflower-land.com
Follow the official guide here: How to Play?
First Read the FAQ’s here: FAQ’s
Still not satisfied? Submit a support ticket here: Submit a ticket
Please add a new idea for the community to vote on, here: SFL Idea Portal
Sunflower Land uses crops, icons and tiles from Daniel Diggle’s SunnySide Asset Pack.
These raw assets/tiles are not in this repo. You must purchase the asset pack if you wish to extend these assets or use them elsewhere.
You can take a look at the instructions in CODE_CONTRIBUTING.md to get started on open-source contribution for Sunflower Land
yarn test
This runs a range of business logic unit tests in the repo.
The plan is to use react testing library to test some of the core user interactions as well.
We use xstate to control the manage the user and session using a State Machine approach. This prevents our application from getting into invalid states and handles the use cases of switching accounts, networks, etc.
The primary states include:
The app uses vite for bundling and development purposes. You can set build specific configuration in vite.config.ts
Tailwind is our CSS tool of choice. It enables us to:
tailwind.config.js)Metadata is generated from markdown files.
Prerequisites:
yarn global add ts-node
To add new item:
{SFT id}.md file in metadata\markdown folder{SFT id}.png(gif) file to public\erc1155\images folderyarn metadata👨💻 Developers - https://github.com/sunflower-land/sunflower-land/blob/main/docs/CODE_CONTRIBUTING.md
🧑🎨 Artists - https://github.com/sunflower-land/sunflower-land/blob/main/docs/ART_CONTRIBUTING.md
The previous version was used unethically on other Blockchains. The team is working on deciding the licence that will best suit our community. Until then, the code falls under No Licence and cannot be reused.
All media assets (images and music) are not available for use in commercial or private projects.
To access the crops, resources and land tiles, please refer to the SunnySide Asset Pack
If you wish to use Bumpkin NFTs or custom Sunflower Land collectibles in your own project please reach out to the core team on Discord.