matter-labs / matter-labs/zksync-cli

Add support for deploying/upgrading a contract using a paymaster

Open
#178 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
168
Forks
99
PR merge metrics
No merged PRs in 30d

Description

### 🌟 Feature Request

#### 📝 Description
Modify the `deployContract` helper function or add a script to showcase how to deploy and upgrade a proxy contract using a paymaster.

#### 🤔 Rationale
`hardhat-zksync-upgradable` now supports paymaster parameters on all the flows.
It would be very helpful for new developers to see how to use a paymaster in all cases.
This is a core feature of the zkChains and I see a growing interest in integrating it/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the `deployContract` helper and review the existing deployment and upgrade flows, including how paymaster parameters are passed. Determine whether those flows or a demonstration script should be extended, then verify that a proxy contract can be deployed and upgraded using a paymaster as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
blockchain, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.