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 uses firebase hosting for all it's dApps. Resource targets for the zkCheckout are:
[ hosting ]
prod-mainnet (mainnet-checkout-zksync,zsync-dapp-checkout)
prod-rinkeby (rinkeby-checkout-zksync)
prod-ropsten (ropsten-checkout-zksync)
# install dependencies
$ yarn install --check-cache
# Populate .env file as of RINKEBY connection && serve with hot reload at localhost:3000
$ yarn dev
# build for stage | rinkeby
$ sh cli-dev.sh ci && yarn install --immutable
$ yarn build:rinkeby
# afterward you'll have prepared distributive in /public folder
# build for the mainnet release
$ sh cli-dev.sh ci && yarn install --immutable
$ yarn build:prod
# afterward you'll have prepared distributive in /public folder
For detailed explanation on how things work, check out Nuxt.js docs.
- zkSync Checkout lib: our open sourced NPM-package
- zkSync.js lib: our open sourced NPM-package
- zkLink service: bit.ly for payment links on zkSync
- ethers.js lib: a simple to use Web3 Provider Bridge as a single JavaScript file