Comment on page
Running a Shield Server
Here are step-by-step instructions to run a Shield Server.
- The first step is to clone Muon’s repository hosted on Github. This is done through the following git command:
- Copy your Muon app's JS file to the root of the
- Rename the
.envand then open it and set the values for
- Install required node modules in the root of the cloned repository by using
- For development, run the shield server by
For production, run the shield server using
NB1: It is recommended that projects use more than one Shield server to prevent the halting of the system as a result of downing the Shield server.
NB2: A security risk that threatens Muon apps is that trusted 3rd party RPCs such as Infura, Ankr or The Graph may be vulnerable to hacks. To address this issue, Shield servers had better not depend on such RPCs for their input. Rather, they ought to run their own Ethereum, sidechains, and graph nodes.