Installing the Server
This is where the backend data lives. This handles database writing, verifying signatures, and Discord commands.
From the root directory of this monorepo; run any of the following commands.
Spins up a localhost server to perform development against for the server-side.
npm run -w server
Builds the client-side into a single page application, and pushes it to the server folder under packages/server/dist/html.
npm run build -w server
The main logic lives inside of the
The bot will not start without starting every service successfully.
Handles various calls to the ultra main network chain
Handles writing to a MongoDB collection for an individual user, or a token factory binding to a discord role
Handles all slash commands that are integrated with discord
Handles feeding the compiled HTML static site to users who access the available endpoint that is provided by this bot
Generates cached messages which are used to help identify a signature after a signature is signed by a blockchain account
Handles refreshing user data and inventories and rebinding roles.