From 4cedf8af232213aa1e6f01ab2afe95cf23568ad0 Mon Sep 17 00:00:00 2001 From: Jeremie Date: Wed, 16 Apr 2025 23:54:41 +0200 Subject: [PATCH] .env.example --- .env.example | 30 ++++++++++++++++++++++++++++++ .gitignore | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..ba9e4c0 --- /dev/null +++ b/.env.example @@ -0,0 +1,30 @@ + + +# Choose one of the following env bellow + +## Linea Mainnet +NEXT_PUBLIC_ENV="linea" +NEXT_PUBLIC_BASE_URL=http://localhost:3000 +NEXT_PUBLIC_GRAPHQL_URL= +"https://prod.linea.intuition-api.com/v1/graphql" +NEXT_PUBLIC_CONTRACT_ADDRESS=0xb4375293a13017bce71a034bb588786a3d3c7295 +NEXT_PUBLIC_PREDICATE_ID=3 +NEXT_PUBLIC_SUBJECT_ID=2 + +## Base Mainnet - !! Need to import Base Mainnet from viem also !! +NEXT_PUBLIC_ENV="changeTheLogicAssociatedWithThis" +NEXT_PUBLIC_BASE_URL=http://localhost:3000 +NEXT_PUBLIC_GRAPHQL_URL= +"https://prod.base.intuition-api.com/v1/graphql" +NEXT_PUBLIC_CONTRACT_ADDRESS=0x430BbF52503Bd4801E51182f4cB9f8F534225DE5 +NEXT_PUBLIC_PREDICATE_ID= +NEXT_PUBLIC_SUBJECT_ID= + +## Base testnet ( Sepolia ) +NEXT_PUBLIC_ENV="development" +NEXT_PUBLIC_BASE_URL=http://localhost:3000 +NEXT_PUBLIC_GRAPHQL_URL= +"https://dev.base.intuition-api.com/v1/graphql" +NEXT_PUBLIC_CONTRACT_ADDRESS=0x1A6950807E33d5bC9975067e6D6b5Ea4cD661665 +NEXT_PUBLIC_PREDICATE_ID=6639 +NEXT_PUBLIC_SUBJECT_ID=535 \ No newline at end of file diff --git a/.gitignore b/.gitignore index b092b8c..23ba2c5 100644 --- a/.gitignore +++ b/.gitignore @@ -32,7 +32,7 @@ yarn-error.log* .pnpm-debug.log* # env files (can opt-in for committing if needed) -.env* +.env.local # vercel .vercel