This is a UI for interacting with the Mafia Dapp.
For development purposes, it also supports running against the Mafia Dapp HTTP backend.
npm install
The following will run this locally to be used against an instance of Hardhat:
npm run dev
To run against the HTTP backend, do the following:
If in a UNIX-compatible environment, run:
export MAFIA_BACKEND=http && npm run dev
If running in Windows, run:
$env:MAFIA_BACKEND = 'http'
npm run dev
The following builds into the dist/
folder a distributable version of the website:
npm run build
Run the following to build the production distribution and run it locally (useful for testing the Base Goerli Testnet integration):
npm run build && npx serve dist
- Favicon sourced from icons8.com
- CSS template is from free-css.com