As a first step, we use Matter Labs' ZK Rollups contracts. Regarding the contracts, all credits goes to Matter Labs. What makes this implementation unique is that we will make a ZK Rollups Substrate pallet.
We believe that ZK Rollup is the killer layer2 solution in the coming months and some of the top projects will use this technology to make DApps scalable.
ZK Rollup is valuable for Polkadot Parachain as described below.
Software | Version |
---|---|
docker-compose | 1.27.4 |
docker | 19.03.13 |
git | 2.24.1 |
yarn | 1.21.1 |
git | 14.15.4 |
And there is private key file $HOME/.ssh/id_rsa
.
Execute following command in this project root directory.
$ sh scripts/integration.sh
This script executes the following sequence.
Name | Description |
---|---|
substrate | substrate based chain |
test | integration test |
setup | setup Zksync env to deploy contract and fund coinbase account |
operator | sidechain operator |
prover | zk prover |
postgres | sidechain db |
$ yarn setup
executes test/src/setup-contract.ts
and test/src/setup-wallet.ts
.
test/src/setup-contract.ts
test/src/setup-wallet.ts
$ yarn integration
executes zksync integration test
.
The zksync integration test
tests