Serum allows you to collect 20% of the fees for the orders made on your GUI. In order to collect the fees, you need to modify the .env file that looks like this:
To collect fees enter your USDT SPL and USD SPL addresses, for example:
Setting your own Domain Name
The package.json file contains a field called homepage, change it to your name domain.
Hosting
There are different solutions to host your GUI. You can host it for free on Github Pages or host it on your own server.
Github Pages
This is the easiest way of hosting and deploying a GUI, you simply have to use the following command to deploy your GUI
The GUI will then be hosted on the gh-pages branch of your Github repository.
Hosting on your own Server
Alternatively, you can host your GUI on your own server and use Nginx for instance to serve it. To create the production build run:
The build will be created in the build folder of the working directory.