From ced180077869436a33e01c8a563bf5b5bf6e206b Mon Sep 17 00:00:00 2001 From: Dustin <135719141+DustinTurska@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:15:35 -0500 Subject: [PATCH 1/4] Soneium Add OP Grant form for Soneium Mainnet to Soneium Minato --- apps/dashboard/src/app/(dashboard)/(chain)/utils.ts | 8 +------- .../src/components/onboarding/ApplyForOpCreditsForm.tsx | 1 + apps/dashboard/src/pages/grant/superchain.tsx | 1 - 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts b/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts index 6891d29dfc7..a89602925bf 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts +++ b/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts @@ -404,13 +404,7 @@ const chainMetaRecord = { headerImgUrl: soneiumBanner.src, about: "Soneium, an Ethereum layer-2 developed by Sony Block Solutions Labs. This versatile chain is a general-purpose blockchain platform that aims to evoke emotion, empower creativity, and meet diverse needs to go mainstream. Soneium will be simplifying blockchain experiences while empowering developers, creators, and communities. Built on accessibility, scalability, and efficiency, it aims to solve real-world problems across industries globally. Soneium will change the way we interact with the internet, opening up a world of innovative applications and unlimited potential for users worldwide.", - cta: { - backgroundImageUrl: soneiumCTA.src, - title: "Begin your journey with Soneium Spark", - buttonLink: - "https://soneium.org/en/blog/soneium-minato-testnet-is-live-along-with-soneium-spark-incubation-program/", - buttonText: "Learn more", - }, + cta: OP_CTA, }, } satisfies Record; // END TEMPORARY diff --git a/apps/dashboard/src/components/onboarding/ApplyForOpCreditsForm.tsx b/apps/dashboard/src/components/onboarding/ApplyForOpCreditsForm.tsx index 86459809347..5b52abb65e8 100644 --- a/apps/dashboard/src/components/onboarding/ApplyForOpCreditsForm.tsx +++ b/apps/dashboard/src/components/onboarding/ApplyForOpCreditsForm.tsx @@ -208,6 +208,7 @@ export const ApplyForOpCreditsForm: React.FC = ({ "Ancient8", "Donatuz", "Mantle", + "Soneium", ].map((chain) => ({ label: chain === "Optimism" ? "OP Mainnet" : chain, value: chain, diff --git a/apps/dashboard/src/pages/grant/superchain.tsx b/apps/dashboard/src/pages/grant/superchain.tsx index ba127e686e2..bded5dd4c45 100644 --- a/apps/dashboard/src/pages/grant/superchain.tsx +++ b/apps/dashboard/src/pages/grant/superchain.tsx @@ -92,7 +92,6 @@ const superchains = [ name: "Soneium", link: "/soneium-minato?switch", src: require("../../../public/assets/grant/superchain/soneium-icon.png"), - isComingSoon: true, }, { id: "campNetworkv2", From 0d56f3529f8f9961d5203a10e7784f8c18bcecfe Mon Sep 17 00:00:00 2001 From: Dustin <135719141+DustinTurska@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:19:17 -0500 Subject: [PATCH 2/4] Soneium OP Grant Updates --- .env.example | 7 --- apps/dashboard/.env.example | 94 ------------------------------------- 2 files changed, 101 deletions(-) delete mode 100644 .env.example delete mode 100644 apps/dashboard/.env.example diff --git a/.env.example b/.env.example deleted file mode 100644 index 8284fec5913..00000000000 --- a/.env.example +++ /dev/null @@ -1,7 +0,0 @@ -# rename this file to .env and fill in the values -# this is not required to build the packages but will significantly increase test performance - -# used for unit tests that hit real IPFS gateway -# get a secret key from https://thirdweb.com/create-api-key -# Learn more about API keys. https://portal.thirdweb.com/account/api-keys -TW_SECRET_KEY="" diff --git a/apps/dashboard/.env.example b/apps/dashboard/.env.example deleted file mode 100644 index 511a6670423..00000000000 --- a/apps/dashboard/.env.example +++ /dev/null @@ -1,94 +0,0 @@ -# -# Public (client) -# - -# API authorized domain -# not required to build, defaults to prod -NEXT_PUBLIC_THIRDWEB_DOMAIN="localhost:3000" - -# API host. For local development, please use "https://api.thirdweb-preview.com" -# otherwise: "https://api.thirdweb.com" -NEXT_PUBLIC_THIRDWEB_API_HOST="https://api.thirdweb-dev.com" - -# Paper API host -NEXT_PUBLIC_THIRDWEB_EWS_API_HOST="https://ews.thirdweb-dev.com" - -# thirdweb local api host -# NEXT_PUBLIC_THIRDWEB_API_HOST="http://127.0.0.1:3005" - -# Client ID -# Get the client id from https://thirdweb.com/create-api-key and set it here, -# make sure to allow localhost:3000 in the allowed origins -NEXT_PUBLIC_DASHBOARD_CLIENT_ID="" - -# IPFS gateway url -NEXT_PUBLIC_IPFS_GATEWAY_URL="https://{clientId}.thirdwebstorage-dev.com/ipfs/{cid}/{path}" - -# Upload server url -NEXT_PUBLIC_DASHBOARD_UPLOAD_SERVER="https://storage.thirdweb-dev.com" - -# typesense.com API key (used for contract search) -# - not required to build (unless testing contract search) -NEXT_PUBLIC_TYPESENSE_CONTRACT_API_KEY= - -# posthog API key -# - not required for prod/staging -NEXT_PUBLIC_POSTHOG_API_KEY="ignored" - -# Stripe Customer portal -NEXT_PUBLIC_STRIPE_KEY= - -NEXT_PUBLIC_STRIPE_PAYMENT_METHOD_CFG_ID= - -# Needed for contract analytics / blockchain data information -CHAINSAW_API_KEY= - -# -# Private (server) -# -# Get the secret key from https://thirdweb.com/create-api-key and set it here, Make sure to allow localhost:3000 in the allowed origins -DASHBOARD_SECRET_KEY="" - -# Client id for api routes -API_ROUTES_CLIENT_ID= - -# -MORALIS_API_KEY= - -# alchemy.com API key (used for wallet NFTS) -# - cannot be restricted to IP/domain because vercel has no stable IPs and it happens during build & runtime api route call -# - not required to build (unless testing wallet NFTs)> -SSR_ALCHEMY_KEY= - -# beehiiv.com API key (used for newsletter signups) -# - not required to build (unless testing newsletter signups)> -BEEHIIV_API_KEY= - -# Hubspot Access Token (used for contact us form) -# - not required to build (unless testing contact us form)> -HUBSPOT_ACCESS_TOKEN= - -# Github API Token (used for /open-source) -GITHUB_API_TOKEN="ghp_..." - -# Upload server url -NEXT_PUBLIC_DASHBOARD_UPLOAD_SERVER="https://storage.thirdweb-preview.com" - -# Unthread variables - only required for submitting the support form in /support -UNTHREAD_API_KEY="" -UNTHREAD_TRIAGE_CHANNEL_ID="" -UNTHREAD_EMAIL_INBOX_ID="" -UNTHREAD_FREE_TIER_ID="" -UNTHREAD_GROWTH_TIER_ID="" -UNTHREAD_PRO_TIER_ID="" - -# Demo Engine -NEXT_PUBLIC_DEMO_ENGINE_URL="" - -# API server secret (required for thirdweb.com SIWE login). Copy from Vercel. -API_SERVER_SECRET="" - -# Used for the Faucet page (/) -NEXT_PUBLIC_TURNSTILE_SITE_KEY="" -TURNSTILE_SECRET_KEY="" \ No newline at end of file From ebd5b551d78dce085ccdc9f134dd21a0ff41e024 Mon Sep 17 00:00:00 2001 From: Dustin <135719141+DustinTurska@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:35:53 -0500 Subject: [PATCH 3/4] Update utils.ts Remove unused imports --- apps/dashboard/src/app/(dashboard)/(chain)/utils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts b/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts index a89602925bf..db17fc65d97 100644 --- a/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts +++ b/apps/dashboard/src/app/(dashboard)/(chain)/utils.ts @@ -23,7 +23,6 @@ import plumeCTA from "./temp-assets/plumeCTA.png"; import rootStockBanner from "./temp-assets/rootstock-banner.png"; import rootStockCTABG from "./temp-assets/rootstock-cta.png"; import soneiumBanner from "./temp-assets/soneiumBanner.png"; -import soneiumCTA from "./temp-assets/soneiumCTA.png"; import superpositionBanner from "./temp-assets/superpositionBanner.png"; import superpositionCTA from "./temp-assets/superpositionCTA.png"; import thirdwebBanner from "./temp-assets/thirdweb-banner.png"; From 90fa8183ab51af41296726d6cbc04e18480bf693 Mon Sep 17 00:00:00 2001 From: Dustin <135719141+DustinTurska@users.noreply.github.com> Date: Tue, 29 Oct 2024 15:07:50 -0500 Subject: [PATCH 4/4] Add deleted files --- .env.example | 7 +++ apps/dashboard/.env.example | 94 +++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 .env.example create mode 100644 apps/dashboard/.env.example diff --git a/.env.example b/.env.example new file mode 100644 index 00000000000..8284fec5913 --- /dev/null +++ b/.env.example @@ -0,0 +1,7 @@ +# rename this file to .env and fill in the values +# this is not required to build the packages but will significantly increase test performance + +# used for unit tests that hit real IPFS gateway +# get a secret key from https://thirdweb.com/create-api-key +# Learn more about API keys. https://portal.thirdweb.com/account/api-keys +TW_SECRET_KEY="" diff --git a/apps/dashboard/.env.example b/apps/dashboard/.env.example new file mode 100644 index 00000000000..511a6670423 --- /dev/null +++ b/apps/dashboard/.env.example @@ -0,0 +1,94 @@ +# +# Public (client) +# + +# API authorized domain +# not required to build, defaults to prod +NEXT_PUBLIC_THIRDWEB_DOMAIN="localhost:3000" + +# API host. For local development, please use "https://api.thirdweb-preview.com" +# otherwise: "https://api.thirdweb.com" +NEXT_PUBLIC_THIRDWEB_API_HOST="https://api.thirdweb-dev.com" + +# Paper API host +NEXT_PUBLIC_THIRDWEB_EWS_API_HOST="https://ews.thirdweb-dev.com" + +# thirdweb local api host +# NEXT_PUBLIC_THIRDWEB_API_HOST="http://127.0.0.1:3005" + +# Client ID +# Get the client id from https://thirdweb.com/create-api-key and set it here, +# make sure to allow localhost:3000 in the allowed origins +NEXT_PUBLIC_DASHBOARD_CLIENT_ID="" + +# IPFS gateway url +NEXT_PUBLIC_IPFS_GATEWAY_URL="https://{clientId}.thirdwebstorage-dev.com/ipfs/{cid}/{path}" + +# Upload server url +NEXT_PUBLIC_DASHBOARD_UPLOAD_SERVER="https://storage.thirdweb-dev.com" + +# typesense.com API key (used for contract search) +# - not required to build (unless testing contract search) +NEXT_PUBLIC_TYPESENSE_CONTRACT_API_KEY= + +# posthog API key +# - not required for prod/staging +NEXT_PUBLIC_POSTHOG_API_KEY="ignored" + +# Stripe Customer portal +NEXT_PUBLIC_STRIPE_KEY= + +NEXT_PUBLIC_STRIPE_PAYMENT_METHOD_CFG_ID= + +# Needed for contract analytics / blockchain data information +CHAINSAW_API_KEY= + +# +# Private (server) +# +# Get the secret key from https://thirdweb.com/create-api-key and set it here, Make sure to allow localhost:3000 in the allowed origins +DASHBOARD_SECRET_KEY="" + +# Client id for api routes +API_ROUTES_CLIENT_ID= + +# +MORALIS_API_KEY= + +# alchemy.com API key (used for wallet NFTS) +# - cannot be restricted to IP/domain because vercel has no stable IPs and it happens during build & runtime api route call +# - not required to build (unless testing wallet NFTs)> +SSR_ALCHEMY_KEY= + +# beehiiv.com API key (used for newsletter signups) +# - not required to build (unless testing newsletter signups)> +BEEHIIV_API_KEY= + +# Hubspot Access Token (used for contact us form) +# - not required to build (unless testing contact us form)> +HUBSPOT_ACCESS_TOKEN= + +# Github API Token (used for /open-source) +GITHUB_API_TOKEN="ghp_..." + +# Upload server url +NEXT_PUBLIC_DASHBOARD_UPLOAD_SERVER="https://storage.thirdweb-preview.com" + +# Unthread variables - only required for submitting the support form in /support +UNTHREAD_API_KEY="" +UNTHREAD_TRIAGE_CHANNEL_ID="" +UNTHREAD_EMAIL_INBOX_ID="" +UNTHREAD_FREE_TIER_ID="" +UNTHREAD_GROWTH_TIER_ID="" +UNTHREAD_PRO_TIER_ID="" + +# Demo Engine +NEXT_PUBLIC_DEMO_ENGINE_URL="" + +# API server secret (required for thirdweb.com SIWE login). Copy from Vercel. +API_SERVER_SECRET="" + +# Used for the Faucet page (/) +NEXT_PUBLIC_TURNSTILE_SITE_KEY="" +TURNSTILE_SECRET_KEY="" \ No newline at end of file