turbo-eth / template-web3-app

⚡️ Web3 App Template built using Next.js, RainbowKit, SIWE, Disco, and more!
https://www.turboeth.xyz
MIT License
342 stars 90 forks source link

[main] Feat: Add t3-env #79

Closed marthendalnunes closed 1 year ago

marthendalnunes commented 1 year ago

This PR adds the following changes:

  1. t3-env Integration: Added the t3-env package. This package makes environment variables type-safe, reducing runtime and build errors due to env variables misconfiguration.

  2. Environment Variables Cleanup: Removed unused environment variables from .env.example.

  3. Removal of Unused Function: The createPermitSignature function, which was not in use, has been removed from lib/utils/create-permit-signature.ts.

  4. Renaming NEXTHAUTH_URL to SITE_URL: Renamed the NEXTHAUTH_URL environment variable to SITE_URL, since the variable was being used only to provide the website url.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
light-turbo-eth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2023 1:40pm
turbo-eth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2023 1:40pm