abramsymons / muon-schnorr-signer

A server that run a Muon app and return a schnorr signature on the response

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Muon Schnorr Signer is a server that run a Muon app and return a schnorr signature on the response.

Install

$ git clone https://github.com/abramsymons/muon-schnorr-signer.git
$ npm install

Configure

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.

Run

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.

About

A server that run a Muon app and return a schnorr signature on the response


Languages

Language:JavaScript 100.0%