This is an example of creating an alternative Sky Strife client that also utilizes custom contracts deployed to a Sky Strife MUD world. This currently points to the latest world deployed to Redstone as part of the Season 0 playtest.
git clone
this repository.- Run
pnpm install
in the base directory to install all dependencies. - Run
pnpm dev
to start the client. - Go to
localhost:3000
.
- Change the MUD
namespace
that you will deploy to.- Change the
namespace
key inpackages/contracts/mud.config.ts
. - This should be a unique name for your league not already in use.
- Change the
- Add your private key to the
.env
file inpackages/contracts
.- Run
cp packages/contracts/.env.example packages/contracts/.env
to create the.env
file.
- Run
- Run
pnpm deploy:redstone
inside thepackages/contracts
directory. - Run
post-deploy:redstone
inside thepackages/contracts
directory.- This sets yourself as the
Organizer
of the League and gives you the ability to add league matches and other organizers.
- This sets yourself as the
- Commit and push your changes to the
main
branch. - Build the client by running
pnpm build
in thepackages/client
directory.- This will create a
dist
folder in thepackages/client
directory. Upload this to a static hosting provider of your choice.
- This will create a
- Visit the deployed client. Use the url param
?admin
to access League Organizer features.- Once in the admin view, you can import your private key to access the Organizer features.