From 95986b18bdd053f008cfe34390388c5bfb42ac36 Mon Sep 17 00:00:00 2001 From: Jack Hamer Date: Sun, 26 May 2024 23:26:10 +0300 Subject: [PATCH] fix: update links --- README.md | 8 ++++---- environments/.env.goerli | 6 +++--- environments/.env.mainnet | 6 +++--- nuxt.config.ts | 2 +- package.json | 5 ++--- src/blocks/BottomMenu.vue | 2 +- src/blocks/connectedWallet.vue | 2 +- src/blocks/infoBlock.vue | 2 +- src/components/BuyWithRampBtn.vue | 2 +- src/components/TransactionToken.vue | 2 +- src/pages/index.vue | 6 +++--- src/plugins/build.ts | 2 +- 12 files changed, 22 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 8ffebed9..b5d26e6b 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -# [zkSync Checkout dApp](https://checkout.zksync.io) · [zkSync.io](https://zksync.io/) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE-MIT) [![GitHub license](https://img.shields.io/badge/license-Apache%202-blue)](./LICENSE-APACHE) +# [zkSync Lite Checkout](https://checkout.zksync.io) · [zkSync.io](https://zksync.io/) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE-MIT) [![GitHub license](https://img.shields.io/badge/license-Apache%202-blue)](./LICENSE-APACHE) -# zkSync Checkout — trustable permissionless DeFi payment gateway +# zkSync Lite Checkout — trustable permissionless DeFi payment gateway -zkSync Checkout helps anyone permission-less adopt checkout backed by zkSync, receive payments automatically and benefit from all the advantage of zkSync Rollup: speed of the transaction, times lower cost of a single transaction, simplicity of withdrawal fund to the onchain-wallet. +zkSync Lite Checkout helps anyone permission-less adopt checkout backed by zkSync, receive payments automatically and benefit from all the advantage of zkSync Lite Rollup: speed of the transaction, times lower cost of a single transaction, simplicity of withdrawal fund to the onchain-wallet. * **[SDK documentation](https://zksync.io/api/sdk/checkout/)** | [**Changelog**](CHANGELOG.md) ## Deployment -zkSync uses firebase hosting for all it's dApps. +zkSync Checkout uses firebase hosting. Resource targets for the zkCheckout are: ### Available Hosts diff --git a/environments/.env.goerli b/environments/.env.goerli index b6432774..486b8d76 100644 --- a/environments/.env.goerli +++ b/environments/.env.goerli @@ -4,9 +4,9 @@ APP_WS_API_ETHERSCAN_TOKEN=FTKI6X11ZGTQ9J1KZ6WIRQ2ZW8EYZ8Y7FC RECAPTCHA_SITE_KEY=6LeLrREaAAAAAMu8pgd66XVyy2tzwa8lWw7wRQan APP_IS_TEST=true SENTRY_DSN=https://674c7230d4594037bc1a9797339aa831@o496053.ingest.sentry.io/5662609 -SITE_TITLE="zkSync Checkout — simple permissionless DeFi payment gateway" -SITE_DESCRIPTION="zkSync Checkout helps anyone permission-less adopt checkout backed by zkSync, receive payments automatically and benefit from all the advantage of zkSync Rollup: speed of the transaction, times lower cost of a single transaction, simplicity of withdrawal fund to the onchain-wallet." -SITE_KEYWORDS="zkSync, Checkout, send payments in crypto, add payment gateway, cryptopayments, defi,Matter Labs, rollup, ZK rollup, zero confirmation, ZKP, +SITE_TITLE="zkSync Lite Checkout — simple permissionless DeFi payment gateway" +SITE_DESCRIPTION="zkSync Lite Checkout helps anyone permission-less adopt checkout backed by zkSync Lite, receive payments automatically and benefit from all the advantage of zkSync Lite Rollup: speed of the transaction, times lower cost of a single transaction, simplicity of withdrawal fund to the onchain-wallet." +SITE_KEYWORDS="zkSync, Checkout, send payments in crypto, add payment gateway, cryptopayments, defi, rollup, ZK rollup, zero confirmation, ZKP, zero-knowledge proofs, Ethereum, crypto, blockchain, permissionless, L2, secure payments, scalable crypto payments" GTAG_ID=GTM-P9S4QSF SCREENING_API_URL=https://us-central1-screening-service.cloudfunctions.net/validate diff --git a/environments/.env.mainnet b/environments/.env.mainnet index 7fffb4a4..3e1b91ff 100644 --- a/environments/.env.mainnet +++ b/environments/.env.mainnet @@ -4,9 +4,9 @@ APP_WS_API_ETHERSCAN_TOKEN=FTKI6X11ZGTQ9J1KZ6WIRQ2ZW8EYZ8Y7FC RECAPTCHA_SITE_KEY=6LeLrREaAAAAAMu8pgd66XVyy2tzwa8lWw7wRQan APP_IS_TEST=false SENTRY_DSN=https://674c7230d4594037bc1a9797339aa831@o496053.ingest.sentry.io/5662609 -SITE_TITLE="zkSync Checkout — simple permissionless DeFi payment gateway" -SITE_DESCRIPTION="zkSync Checkout helps anyone permission-less adopt checkout backed by zkSync, receive payments automatically and benefit from all the advantage of zkSync Rollup: speed of the transaction, times lower cost of a single transaction, simplicity of withdrawal fund to the onchain-wallet." -SITE_KEYWORDS="zkSync, Checkout, send payments in crypto, add payment gateway, cryptopayments, defi,Matter Labs, rollup, ZK rollup, zero confirmation, ZKP, +SITE_TITLE="zkSync Lite Checkout — simple permissionless DeFi payment gateway" +SITE_DESCRIPTION="zkSync Lite Checkout helps anyone permission-less adopt checkout backed by zkSync Lite, receive payments automatically and benefit from all the advantage of zkSync Lite Rollup: speed of the transaction, times lower cost of a single transaction, simplicity of withdrawal fund to the onchain-wallet." +SITE_KEYWORDS="zkSync, Checkout, send payments in crypto, add payment gateway, cryptopayments, defi, rollup, ZK rollup, zero confirmation, ZKP, zero-knowledge proofs, Ethereum, crypto, blockchain, permissionless, L2, secure payments, scalable crypto payments" GTAG_ID=GTM-P9S4QSF SCREENING_API_URL=https://us-central1-screening-service.cloudfunctions.net/validate diff --git a/nuxt.config.ts b/nuxt.config.ts index 0e327ce6..7717bbb4 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -18,7 +18,7 @@ const zkTailwindDefault = require("matter-zk-ui/tailwind.config.js"); const srcDir = "./src/"; const env = process.env.APP_ENV ?? "dev"; -const pageTitle = `${CURRENT_APP_NAME}`.toString() ?? "zkSync Checkout"; +const pageTitle = `${CURRENT_APP_NAME}`.toString() ?? "zkSync Lite Checkout"; const pageImg = "/social.png"; const pageTitleTemplate = ETHER_PRODUCTION ? CURRENT_APP_NAME : `${ETHER_NETWORK_CAPITALIZED}`; diff --git a/package.json b/package.json index db708ea2..7b2344bd 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "@matterlabs/zksync-dapp-checkout", - "title": "zkSync Checkout — simple permissionless DeFi payment gateway", + "title": "zkSync Lite Checkout — simple permissionless DeFi payment gateway", "homepage": "https://checkout.zksync.io", - "description": "zkSync Checkout helps anyone permission-less adopt checkout backed by zkSync, receive payments automatically and benefit from all the advantage of zkSync Rollup: speed of the transaction, times lower cost of a single transaction, simplicity of withdrawal fund to the onchain-wallet.", + "description": "zkSync Lite Checkout helps anyone permission-less adopt checkout backed by zkSync, receive payments automatically and benefit from all the advantage of zkSync Lite Rollup: speed of the transaction, times lower cost of a single transaction, simplicity of withdrawal fund to the onchain-wallet.", "version": "3.7.5", "keywords": [ "zksync", @@ -16,7 +16,6 @@ "payment gateway", "cryptopayments", "gitcoin", - "matter labs", "zksync dapps", "dapp", "ethers" diff --git a/src/blocks/BottomMenu.vue b/src/blocks/BottomMenu.vue index c8386bf4..3482a04b 100644 --- a/src/blocks/BottomMenu.vue +++ b/src/blocks/BottomMenu.vue @@ -31,7 +31,7 @@ export default Vue.extend({ return this.$store.getters["zk-onboard/config"].zkSyncNetwork.explorer; }, zkWalletLink(): string { - return `//wallet.zksync.io?network=${ETHER_NETWORK_NAME}`; + return `//lite.zksync.io?network=${ETHER_NETWORK_NAME}`; }, }, }); diff --git a/src/blocks/connectedWallet.vue b/src/blocks/connectedWallet.vue index f9873162..7fa77f5a 100644 --- a/src/blocks/connectedWallet.vue +++ b/src/blocks/connectedWallet.vue @@ -60,7 +60,7 @@ export default Vue.extend({ return this.network === "mainnet"; }, walletUrl(): string { - return `///wallet.zksync.io/${this.network !== "mainnet" ? "?network=" + this.network : ""}`; + return `///lite.zksync.io/${this.network !== "mainnet" ? "?network=" + this.network : ""}`; }, }, methods: { diff --git a/src/blocks/infoBlock.vue b/src/blocks/infoBlock.vue index a259f219..db512605 100644 --- a/src/blocks/infoBlock.vue +++ b/src/blocks/infoBlock.vue @@ -203,7 +203,7 @@ export default Vue.extend({ return this.$store.getters["zk-transaction/fees"]; }, zkWalletLink(): string { - return `//wallet.zksync.io?network=${ETHER_NETWORK_NAME}`; + return `//lite.zksync.io?network=${ETHER_NETWORK_NAME}`; }, totalFees(): BigNumberish { const allFees = this.allFees; diff --git a/src/components/BuyWithRampBtn.vue b/src/components/BuyWithRampBtn.vue index 59a5e158..5fa68d3a 100644 --- a/src/components/BuyWithRampBtn.vue +++ b/src/components/BuyWithRampBtn.vue @@ -49,7 +49,7 @@ export default Vue.extend({ throw new Error("Ramp is not supported on this environment."); } new RampInstantSDK({ - hostAppName: "zkSync Checkout", + hostAppName: "zkSync Lite Checkout", hostLogoUrl: window.location.origin + "/favicon-dark.png", variant: "hosted-auto", swapAsset: "ZKSYNC_*", diff --git a/src/components/TransactionToken.vue b/src/components/TransactionToken.vue index 72183a40..0997d336 100644 --- a/src/components/TransactionToken.vue +++ b/src/components/TransactionToken.vue @@ -15,7 +15,7 @@
On-chain wallet has insufficient funds to deposit {{ depositBigNumber | parseBigNumberish(token) }} {{ token }} - to zkSync L2 account. Your on-chain balance is + to zkSync Lite account. Your on-chain balance is
- The price for zkSync transactions fluctuates a little bit to make sure that zkSync runs as close as possible - to break-even costs. + The price for zkSync Lite transactions fluctuates a little bit to make sure that zkSync Lite runs as close as + possible to break-even costs.
You have to deposit a little bit more to cover new transaction fee. @@ -486,7 +486,7 @@ export default Vue.extend({ this.step = "main"; let realError = filterError(error as Error); if (realError) { - if (realError.includes("Account does not exist in the zkSync network")) { + if (realError.includes("Account does not exist in the zkSync Lite network")) { realError = "Please, make deposit or request tokens in order to activate the account."; } else if (realError.includes("batch summary fee is too low")) { await this.checkFees(); diff --git a/src/plugins/build.ts b/src/plugins/build.ts index f8dbd073..8e928112 100644 --- a/src/plugins/build.ts +++ b/src/plugins/build.ts @@ -49,7 +49,7 @@ export const nuxtBuildConfig = isProduction ? nuxtBuildProdOptions : nuxtBuildOp export const ZK_LIB_VERSION = zkSyncVersion ?? "latest"; export const ETHER_NETWORK_CAPITALIZED = `${ETHER_NETWORK_NAME.charAt(0).toUpperCase()}${ETHER_NETWORK_NAME?.slice(1)}`; -export const CURRENT_APP_NAME = "zkSync Checkout"; +export const CURRENT_APP_NAME = "zkSync Lite Checkout"; export const CURRENT_APP_TITLE = process.env.SITE_TITLE || CURRENT_APP_NAME;