Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (24 loc) · 1.47 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.47 KB

Dawnseekers Building Extension Starter

Overview

An example/starter repository to fork and get started developing a Building Extension and client plugin for Dawnseekers.

Getting started

  • Install Docker
  • clone this repository with submodules: git clone --recursive https://github.com/playmint/ds-example-building-extension.git
  • run docker compose up --build from your cloned repository folder
  • ... will take a minuite or so to provision the game's services, then you should be able to use a browser to visit:

Example of how to fork and make changes to the repository

  • Install Docker
  • Fork this repository
  • In /contracts/src/Game.sol on line 81, change the name of the building from "MyDawnseekersExtension" to "Hello World"
  • From the root of the repository, run 'docker compose up --build'
  • ... will take a minuite or so to provision the game's services, then you should be able to use a browser to visit:
  • Collect enough resources to construct a building
  • You will notice that you will be given the option to build the "Hello World" building

Cleaning up

To delete the provisioned services:

docker compose down -v --rmi=all -t 1 --remove-orphans