Skip to content

Commit

Permalink
fix: add more clarity on 2nd step
Browse files Browse the repository at this point in the history
  • Loading branch information
hoshiyari420 committed Aug 12, 2024
1 parent 35dc457 commit 98e747e
Show file tree
Hide file tree
Showing 3 changed files with 27,583 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
10 changes: 7 additions & 3 deletions content/tutorials/permissionless-paymaster/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,18 @@ The private key of this signer address should be stored securely by the Dapp.
```

## 2. Deposit gas funds and add the signer address
Navigate to ZKsync Sepolia Testnet Explorer: [0xc1B0E2edC4cCaB51A764D7Dd8121CBf58C4D9E40](https://sepolia.explorer.zksync.io/address/0xc1B0E2edC4cCaB51A764D7Dd8121CBf58C4D9E40#contract).
Call `depositAndAddSigner()` function with 0.01 ether and the signer address.
Navigate to ZKsync Sepolia Testnet Explorer: [0xc1B0E2edC4cCaB51A764D7Dd8121CBf58C4D9E40](https://sepolia.explorer.zksync.io/address/0xc1B0E2edC4cCaB51A764D7Dd8121CBf58C4D9E40#contract)
Using a **different address** with test funds, call the `depositAndAddSigner()` function with 0.01 ether
and the signer address as the function arguments.
![deposit and add a signer](/images/permissionless-paymaster/depositAndAddSigner.png)

::callout{icon="i-heroicons-exclamation-circle"}
The depositor address is considered a "manager". A manager can deposit/withdraw gas funds and add/remove signers at any given time.

*A manager can be a signer address too. (not recommended)*
- *A signer can only be linked to one manager at a time.*

- *A manager can be a signer address too. (not recommended)*

::

## 3. Create function to sign EIP-712 typed paymaster data
Expand Down
Loading

0 comments on commit 98e747e

Please sign in to comment.