armchair icon indicating copy to clipboard operation
armchair copied to clipboard

Specifications for env inputs?

Open thekidnamedkd opened this issue 1 year ago • 1 comments

I believe I have everything necessary for env inputs on Vercel deploy.

NEXT_PUBLIC_WC_ID -- This is a Wallet Connect project ID? NEXT_PUBLIC_INFURA_ID -- Standard Infura API Key? SESSION_SECRET -- this is a generated string? Like an HMAC hash? Not specific to one of the above providers?

Assuming all the above are true, I was getting a client side error initially with minimal info just using a random string for the session secret. But generating a proper HMAC hash and redeploy seemed to resolve.

I would be happy to submit a PR with more specific 'Getting Started' instructions for the README once I can confirm the best practice. :)

thekidnamedkd avatar Jun 02 '23 09:06 thekidnamedkd

Think I can assume SESSION_SECRET is for Connect Kit SIWE -- mostly critically just 32 characters req'd:

image

thekidnamedkd avatar Jun 02 '23 10:06 thekidnamedkd