diff --git a/README.md b/README.md index 272165c9b..fa31d61a1 100644 --- a/README.md +++ b/README.md @@ -152,11 +152,11 @@ The configuration parameters are described below, make sure to update the values - **alchemyApiKey** Default Alchemy API key from Scaffold ETH 2 for local testing purposes. - It's recommended to obtain your own API key from the [Alchemy Dashboard](https://dashboard.alchemyapi.io/) and store it in an environment variable: `NEXT_PUBLIC_ALCHEMY_API_KEY` at `\packages\nextjs\.env` file. + It's recommended to obtain your own API key from the [Alchemy Dashboard](https://dashboard.alchemyapi.io/) and store it in an environment variable: `NEXT_PUBLIC_ALCHEMY_API_KEY` at `\packages\nextjs\.env.local` file. - **walletConnectProjectId** WalletConnect's default project ID from Scaffold ETH 2 for local testing purposes. - It's recommended to obtain your own project ID from the [WalletConnect website](https://cloud.walletconnect.com) and store it in an environment variable: `NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID` at `\packages\nextjs\.env` file. + It's recommended to obtain your own project ID from the [WalletConnect website](https://cloud.walletconnect.com) and store it in an environment variable: `NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID` at `\packages\nextjs\.env.local` file. - **onlyLocalBurnerWallet** Controls the networks where the Burner Wallet feature is available. This feature provides a lightweight wallet for users. diff --git a/packages/hardhat/.env.example b/packages/hardhat/.env.example index ddfa4a970..a9ccb0860 100644 --- a/packages/hardhat/.env.example +++ b/packages/hardhat/.env.example @@ -1,5 +1,11 @@ -# This is a template for the environment variables -# To use this template, copy this file, rename it .env, and fill in the values +# Template for Hardhat environment variables. + +# To use this template, copy this file, rename it .env, and fill in the values. + +# If not set, we provide default values (check `hardhat.config.ts`) so developers can start prototyping out of the box, +# but we recommend getting your own API Keys for Production Apps. + +# To access the values stored in this .env file you can use: process.env.VARIABLENAME ALCHEMY_API_KEY= DEPLOYER_PRIVATE_KEY= -ETHERSCAN_API_KEY= \ No newline at end of file +ETHERSCAN_API_KEY= diff --git a/packages/nextjs/.env.example b/packages/nextjs/.env.example new file mode 100644 index 000000000..c8d03d79d --- /dev/null +++ b/packages/nextjs/.env.example @@ -0,0 +1,13 @@ +# Template for NextJS environment variables. + +# For local development, copy this file, rename it to .env.local, and fill in the values. +# When deploying live, you'll need to store the vars in Vercel/System config. + +# If not set, we provide default values (check `scaffold.config.ts`) so developers can start prototyping out of the box, +# but we recommend getting your own API Keys for Production Apps. + +# To access the values stored in this env file you can use: process.env.VARIABLENAME +# You'll need to prefix the variables names with NEXT_PUBLIC_ if you want to access them on the client side. +# More info: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables +NEXT_PUBLIC_ALCHEMY_API_KEY= +NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID=