Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 2.27 KB

README.md

File metadata and controls

59 lines (41 loc) · 2.27 KB

zkSync 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.

Deployment

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)

Build Setup

# 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.


Solutions used

Libraries used