Setting up a Lightning Gateway on Mutinynet
You have to have a Lightning Node!
The first step to setting up a Lightning Gateway is to set up a Lightning Node. Lightning Gateways are users of the Fedimint who also run lightning nodes, and provides lightning services to other users of the Fedimint. See the Setting up a Lightning Node guide for a walkthrough of how to set up a Lightning Node on Clovyr connected to Mutinynet. If you've already got the CLovyr Lightning Gateway deployment running, you can skip this step and continue onto the next section: Connecting Your Gateway to a Federation.
The Clovyr Lightning Gateway deployment launch a fresh LND node alongside the Gateway, and automatically connects it to Mutinynet. The Thunderhub dashboard has some nice Fedimint management features forked in, so we can use Thunderhub to manage both the node and the gateway. For the remainder of this guide, we'll be using the Thunderhub dashboard to manage the Gateway and node and assume you're using the Clovyr Lightning Gateway deployment that runs both on the same server.
Optional: Connecting to a Remote Lightning Node
If you already have a Lightning Node running, you can deploy a Lightning Gateway and connect it to your existing node. This works well with Core Lightning Nodes via the cln_extension and Voltage's LND deployments, but takes a bit more work to set up. If you're interested in this, please jump in the Fedimint Developer Discord and ask for help as it's currently a bit of a manual process.