├── .github └── workflows │ ├── ci.yaml │ └── crates-io.yaml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── Makefile ├── README.md ├── clippy.toml ├── envrc.example ├── examples ├── contract-deployment │ ├── Greeter.abi │ ├── Greeter.bin │ ├── Greeter.sol │ └── main.rs ├── paymaster │ └── main.rs └── simple_payment │ └── main.rs ├── resources └── testing │ └── erc20 │ ├── ERC20Token.json │ ├── MyToken.json │ └── abi.json └── src ├── abi ├── ContractDeployer.json ├── IL1Bridge.json ├── IZkSync.json ├── mod.rs └── test_contracts │ ├── basic_combined.json │ ├── counter_combined.json │ ├── greeter_combined.json │ ├── import_combined.json │ └── storage_combined.json ├── contracts ├── l1_bridge_contract.rs ├── main_contract.rs └── mod.rs ├── eip712 ├── meta.rs ├── mod.rs ├── paymaster_params.rs ├── transaction.rs └── transaction_request.rs ├── lib.rs ├── tests ├── mod.rs ├── provider_tests.rs ├── utils.rs └── wallet_tests.rs ├── zks_provider ├── mod.rs └── types.rs ├── zks_utils.rs └── zks_wallet ├── DepositERC20GasLimit.json ├── errors.rs ├── mod.rs ├── requests ├── call_request.rs ├── deploy_request.rs ├── deposit_request.rs ├── mod.rs ├── transfer_request.rs └── withdraw_request.rs └── wallet.rs /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/crates-io.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/.github/workflows/crates-io.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/README.md -------------------------------------------------------------------------------- /clippy.toml: -------------------------------------------------------------------------------- 1 | allow-unwrap-in-tests = true 2 | -------------------------------------------------------------------------------- /envrc.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/envrc.example -------------------------------------------------------------------------------- /examples/contract-deployment/Greeter.abi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/examples/contract-deployment/Greeter.abi -------------------------------------------------------------------------------- /examples/contract-deployment/Greeter.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/examples/contract-deployment/Greeter.bin -------------------------------------------------------------------------------- /examples/contract-deployment/Greeter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/examples/contract-deployment/Greeter.sol -------------------------------------------------------------------------------- /examples/contract-deployment/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/examples/contract-deployment/main.rs -------------------------------------------------------------------------------- /examples/paymaster/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/examples/paymaster/main.rs -------------------------------------------------------------------------------- /examples/simple_payment/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/examples/simple_payment/main.rs -------------------------------------------------------------------------------- /resources/testing/erc20/ERC20Token.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/resources/testing/erc20/ERC20Token.json -------------------------------------------------------------------------------- /resources/testing/erc20/MyToken.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/resources/testing/erc20/MyToken.json -------------------------------------------------------------------------------- /resources/testing/erc20/abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/resources/testing/erc20/abi.json -------------------------------------------------------------------------------- /src/abi/ContractDeployer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/abi/ContractDeployer.json -------------------------------------------------------------------------------- /src/abi/IL1Bridge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/abi/IL1Bridge.json -------------------------------------------------------------------------------- /src/abi/IZkSync.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/abi/IZkSync.json -------------------------------------------------------------------------------- /src/abi/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/abi/mod.rs -------------------------------------------------------------------------------- /src/abi/test_contracts/basic_combined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/abi/test_contracts/basic_combined.json -------------------------------------------------------------------------------- /src/abi/test_contracts/counter_combined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/abi/test_contracts/counter_combined.json -------------------------------------------------------------------------------- /src/abi/test_contracts/greeter_combined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/abi/test_contracts/greeter_combined.json -------------------------------------------------------------------------------- /src/abi/test_contracts/import_combined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/abi/test_contracts/import_combined.json -------------------------------------------------------------------------------- /src/abi/test_contracts/storage_combined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/abi/test_contracts/storage_combined.json -------------------------------------------------------------------------------- /src/contracts/l1_bridge_contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/contracts/l1_bridge_contract.rs -------------------------------------------------------------------------------- /src/contracts/main_contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/contracts/main_contract.rs -------------------------------------------------------------------------------- /src/contracts/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/contracts/mod.rs -------------------------------------------------------------------------------- /src/eip712/meta.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/eip712/meta.rs -------------------------------------------------------------------------------- /src/eip712/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/eip712/mod.rs -------------------------------------------------------------------------------- /src/eip712/paymaster_params.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/eip712/paymaster_params.rs -------------------------------------------------------------------------------- /src/eip712/transaction.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/eip712/transaction.rs -------------------------------------------------------------------------------- /src/eip712/transaction_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/eip712/transaction_request.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/tests/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/tests/mod.rs -------------------------------------------------------------------------------- /src/tests/provider_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/tests/provider_tests.rs -------------------------------------------------------------------------------- /src/tests/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/tests/utils.rs -------------------------------------------------------------------------------- /src/tests/wallet_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/tests/wallet_tests.rs -------------------------------------------------------------------------------- /src/zks_provider/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_provider/mod.rs -------------------------------------------------------------------------------- /src/zks_provider/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_provider/types.rs -------------------------------------------------------------------------------- /src/zks_utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_utils.rs -------------------------------------------------------------------------------- /src/zks_wallet/DepositERC20GasLimit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/DepositERC20GasLimit.json -------------------------------------------------------------------------------- /src/zks_wallet/errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/errors.rs -------------------------------------------------------------------------------- /src/zks_wallet/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/mod.rs -------------------------------------------------------------------------------- /src/zks_wallet/requests/call_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/requests/call_request.rs -------------------------------------------------------------------------------- /src/zks_wallet/requests/deploy_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/requests/deploy_request.rs -------------------------------------------------------------------------------- /src/zks_wallet/requests/deposit_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/requests/deposit_request.rs -------------------------------------------------------------------------------- /src/zks_wallet/requests/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/requests/mod.rs -------------------------------------------------------------------------------- /src/zks_wallet/requests/transfer_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/requests/transfer_request.rs -------------------------------------------------------------------------------- /src/zks_wallet/requests/withdraw_request.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/requests/withdraw_request.rs -------------------------------------------------------------------------------- /src/zks_wallet/wallet.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lambdaclass/zksync-web3-rs/HEAD/src/zks_wallet/wallet.rs --------------------------------------------------------------------------------