Muon Schnorr Signer is a server that run a Muon app and return a schnorr signature on the response.
$ git clone https://github.com/abramsymons/muon-schnorr-signer.git
$ npm install
cp .env.example .env
Edit the file and set SHNORR_PRIVATE_KEY
& ETH_PRIVATE_KEY
Security Note: Using different private keys is highly recommenended to resolve different sort of potential security concerns.
Copy your MuonApps to muon-apps
directoy.
Run the server using:
npm start
Security Note: Although having appId as a parameter in the signature prevents using signatures generated for a different app in other apps, but it's still recommened to not use same server with same key for running multiple apps.