Skip to content

Commit

Permalink
fix: update links
Browse files Browse the repository at this point in the history
  • Loading branch information
ModestHamilton committed May 26, 2024
1 parent 449df5b commit 95986b1
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 23 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions environments/.env.goerli
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ APP_WS_API_ETHERSCAN_TOKEN=FTKI6X11ZGTQ9J1KZ6WIRQ2ZW8EYZ8Y7FC
RECAPTCHA_SITE_KEY=6LeLrREaAAAAAMu8pgd66XVyy2tzwa8lWw7wRQan
APP_IS_TEST=true
SENTRY_DSN=https://[email protected]/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
Expand Down
6 changes: 3 additions & 3 deletions environments/.env.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ APP_WS_API_ETHERSCAN_TOKEN=FTKI6X11ZGTQ9J1KZ6WIRQ2ZW8EYZ8Y7FC
RECAPTCHA_SITE_KEY=6LeLrREaAAAAAMu8pgd66XVyy2tzwa8lWw7wRQan
APP_IS_TEST=false
SENTRY_DSN=https://[email protected]/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
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -16,7 +16,6 @@
"payment gateway",
"cryptopayments",
"gitcoin",
"matter labs",
"zksync dapps",
"dapp",
"ethers"
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/BottomMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/connectedWallet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/infoBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/components/BuyWithRampBtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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_*",
Expand Down
2 changes: 1 addition & 1 deletion src/components/TransactionToken.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div v-if="modal === 'insufficientL1Deposit'" class="text-sm">
On-chain wallet has insufficient funds to deposit
<strong>{{ depositBigNumber | parseBigNumberish(token) }} {{ token }}</strong>
to zkSync L2 account. Your on-chain balance is
to zkSync Lite account. Your on-chain balance is
<strong
class="cursor-pointer"
@click="
Expand Down
6 changes: 3 additions & 3 deletions src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
</template>
<template slot="default">
<div class="text-sm">
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.
</div>
<div v-if="!transferAllowed" class="text-sm text-red">
You have to deposit a little bit more to cover new transaction fee.
Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 95986b1

Please sign in to comment.