This is the proxy server that is used by the Moralis Unity SDK
- Run npm install
- Register for Moralis to get an API key
- Setup .env file with Moralis API key
- Run npm start
- Proxy server is running at http://localhost:4000/proxy
To use the server in production it should be setup with user authentication to ensure that API key usage can be regulated. This requires setting up a custom authentication solution, sending auth headers with all proxy requests and verifying those headers in isAuthenticated function. This template includes an example implementation of simple web3 wallet signed message authentication