diff --git a/.env.local.default b/.env.local.default deleted file mode 100644 index e7e73db..0000000 --- a/.env.local.default +++ /dev/null @@ -1,8 +0,0 @@ -NEXT_PUBLIC_COINBASE_COMMERCE_API_KEY="COMMERCE_API_KEY_1234567890" - -NEXT_PUBLIC_GOOGLE_ANALYTICS_ID=GA_TEST_1234567890 - -# See https://www.coinbase.com/developer-platform/products/base-node -NEXT_PUBLIC_ONCHAINKIT_API_KEY="CDP_API_KEY_1234567890" - -NEXT_PUBLIC_ENVIRONMENT=localhost diff --git a/.env.local.example b/.env.local.example index c3bc523..fdf5ab0 100644 --- a/.env.local.example +++ b/.env.local.example @@ -1,6 +1,4 @@ NEXT_PUBLIC_COINBASE_COMMERCE_API_KEY="GET_FROM_COINBASE_COMMERCE_PLATFORM" -# ~~~ -NEXT_PUBLIC_GOOGLE_ANALYTICS_ID= # See https://www.coinbase.com/developer-platform/products/base-node NEXT_PUBLIC_ONCHAINKIT_API_KEY="GET_FROM_COINBASE_DEVELOPER_PLATFORM" diff --git a/.env.test b/.env.test deleted file mode 100644 index e7e73db..0000000 --- a/.env.test +++ /dev/null @@ -1,8 +0,0 @@ -NEXT_PUBLIC_COINBASE_COMMERCE_API_KEY="COMMERCE_API_KEY_1234567890" - -NEXT_PUBLIC_GOOGLE_ANALYTICS_ID=GA_TEST_1234567890 - -# See https://www.coinbase.com/developer-platform/products/base-node -NEXT_PUBLIC_ONCHAINKIT_API_KEY="CDP_API_KEY_1234567890" - -NEXT_PUBLIC_ENVIRONMENT=localhost diff --git a/README.md b/README.md index 97a1137..a52621e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ An Onchain Commerce Template built with [OnchainKit](https://onchainkit.xyz), and ready to be deployed to Vercel. -Play with it live on https://onchain-commerce-template.vercel.app/ +Play with it live on https://onchain-commerce-template.vercel.app/, or deploy it to your own Vercel account: + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fcoinbase%2Fonchain-commerce-template&env=NEXT_PUBLIC_ONCHAINKIT_API_KEY,NEXT_PUBLIC_COINBASE_COMMERCE_API_KEY&envDescription=Environment%20variables%20documentation&envLink=https%3A%2F%2Fgithub.com%2Fcoinbase%2Fonchain-commerce-template%3Ftab%3Dreadme-ov-file%23setup&project-name=onchain-commerce-template&repository-name=onchain-commerce-template) Have fun! ⛵️ diff --git a/package.json b/package.json index 83f888a..e80dfa1 100644 --- a/package.json +++ b/package.json @@ -18,14 +18,19 @@ }, "dependencies": { "@coinbase/onchainkit": "^0.35.0", + "@tanstack/react-query": "^5.62.7", "next": "^14.2.5", "permissionless": "^0.1.26", "react": "^18", "react-dom": "^18", - "siwe": "^2.3.2" + "siwe": "^2.3.2", + "viem": "^2.21.54", + "wagmi": "^2.14.1" }, "devDependencies": { "@biomejs/biome": "^1.8.0", + "@testing-library/jest-dom": "^6.4.6", + "@testing-library/react": "^14.2.0", "@types/node": "^20.11.8", "@types/react": "^18.2.48", "@types/react-dom": "^18.2.7", @@ -35,14 +40,12 @@ "autoprefixer": "^10.4.19", "bufferutil": "^4.0.7", "encoding": "^0.1.13", - "lokijs": "^1.5.12", "jsdom": "^24.1.0", + "lokijs": "^1.5.12", "pino-pretty": "^10.2.0", "postcss": "^8.4.38", "supports-color": "^9.4.0", "tailwindcss": "^3.4.0", - "@testing-library/jest-dom": "^6.4.6", - "@testing-library/react": "^14.2.0", "typescript": "^5.3.3", "utf-8-validate": "^6.0.3", "vitest": "^2.0.1"