add env vars

This commit is contained in:
Chris Cassano 2023-04-15 17:47:35 +09:00
parent 340696d7a5
commit 933eff8eba

View File

@ -16,3 +16,8 @@ This project specifically:
First, run `yarn install`. Then run `yarn start` to run this project. You'll need a Metamask wallet set to the Chronicle network with some Lit Test tokens in it. You can learn more about Chronicle here: https://developer.litprotocol.com/intro/rollup
Sign in with Google and wait until it says "PKP Minted". Then, click the "Encrypt then Decrypt with Lit" button. If you see the word "Success!" at the top, then it worked! Open the dev console to see how it works.
You also need to set 2 env vars:
export REACT_APP_RELAY_API_URL="https://relay-server-staging.herokuapp.com"
export REACT_APP_RPC_URL="https://chain-rpc.litprotcol.com/http"