This is the monorepo for the decentralized applications of EVE Frontier on Sui and support libraries.
- Project Overview 🌟
- Prerequisites 🔗
- Getting Started 🚀
- Building Packages 🛠️
- Other Useful Commands 🔧
- Creating an EVE Frontier Dapp 🏗️
- Contributing 🤝
- Releasing 🚢
- License 📜
This monorepo contains the decentralized applications (dApps) of EVE Frontier, along with their support libraries.
| Package | Path | Description |
|---|---|---|
@evefrontier/dapp-kit |
packages/libs/dapp-kit |
React SDK for building EVE Frontier dApps on Sui. Published to GitHub Packages. |
@eveworld/ui-components |
packages/libs/ui-components |
Shared React UI components. |
@eveworld/assembly |
packages/apps/assembly |
The Smart Assembly dApp. |
Further reading:
- World upgrade runbook: what to do when the EVE Frontier world contracts are upgraded.
- dapp-kit API documentation (TypeDoc).
- Node.js 26.13.1 (see
.nvmrc) - Bun 1.4.4 (see
packageManagerinpackage.json) - A GitHub token with the
read:packagesscope, exported asGITHUB_TOKEN.@evefrontier/*packages are installed from GitHub Packages (seebunfig.toml).
This monorepo is an Nx-configured Bun workspace. Running bun install from the root installs dependencies for every package.
To install all dependencies, run:
export GITHUB_TOKEN=<token with read:packages>
bun installBun only installs package versions that were published at least 24 hours ago (minimumReleaseAge in bunfig.toml).
To run the assembly dApp locally, follow the steps in its README.
Nx can be used to invoke build commands for each package directly from the project root.
To build all packages, run:
bun run buildTo build a specific package, use the target script flag:
bunx nx run @eveworld/assembly:buildRun these from the repository root:
bun run typecheck # Typecheck every package
bun run lint # Check formatting and lint rules (Biome)
bun run lint:fix # Apply Biome fixes
bun --filter @evefrontier/dapp-kit test:run # Run the dapp-kit tests once
bun --filter @evefrontier/dapp-kit docs # Generate the dapp-kit TypeDoc site
bun audit # Check dependencies for known vulnerabilitiesBuild your dApp on @evefrontier/dapp-kit. Its README covers installation, providers and hooks, and the full API reference is at sui-docs.evefrontier.com. The assembly dApp is a working example.
See CONTRIBUTING.md for how to open issues and pull requests.
PR titles must follow Conventional Commits, for example feat(dapp-kit): add entity parser or fix: icon fallback. PRs are squash-merged with the PR title as the commit message, and the Semantic Pull Request workflow checks titles on pull requests into main. Following the same format for individual commit messages is encouraged.
Git hooks are installed by Husky on bun install:
pre-commitruns lint across all packages.pre-pushrunsbun auditand the dapp-kit tests.
Releases are cut from GitHub releases and tags. The tag must match the package's version in its package.json, or the workflow fails.
@evefrontier/dapp-kit
- Bump the version in
packages/libs/dapp-kit/package.jsonand update itsCHANGELOG.md. - Publish a GitHub release tagged
dapp-kit/v<version>.publish-dapp-kit.yamltests, builds and publishes the package to GitHub Packages. Releases marked as pre-releases are not published.docs.yamldeploys the TypeDoc site.
Assembly dApp
- Bump the version in
packages/apps/assembly/package.jsonand update itsCHANGELOG.md. - Push a tag
dapp/v<version>.image.yamlscans the sources with Grype, then builds one Caddy-served container image per tier (dev,test,uat,live) and architecture (amd64,arm64).- Tier configuration is baked into each bundle at build time. Images are pushed to ECR as
<version>-<tier>-<arch>.
This project is licensed under the MIT License. See the LICENSE file for details.