# How to set up?

**There's just 1 simple step for activation**: DApps deposit gas funds and add a signer address in this paymaster through Zyfi's built front-end, completing it all in a single transaction.&#x20;

(Video)

You can also activate directly using ZKsync explorer by calling `depositAndAddSigner()` in the contract.

* ZKsync Mainnet : <https://explorer.zksync.io/address/0x68b4F1146a863d0E7cF1e134857411C8a941C86d#contract>
* Sepolia Testnet : \
  <https://sepolia.explorer.zksync.io/address/0xc1B0E2edC4cCaB51A764D7Dd8121CBf58C4D9E40#contract>

<figure><img src="https://3129085131-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffg3zJM5ChpTTMyke744p%2Fuploads%2FgNJmEm5IxKSDz3Uh75KB%2FdepositAndAddSigner.png?alt=media&#x26;token=2889e78f-995f-40cd-a8f2-7601169dedd2" alt="" width="375"><figcaption><p>ZKsync explorer</p></figcaption></figure>

[Done. Ready. All Set. Completed. Voilà. Paymaster activated ✅ 🫡](#user-content-fn-1)[^1]

The depositor address of the Dapp is the 'Manager' and the added signer address is the trusted 'Signer' whose signature will be verified for sponsorship in the paymaster to use the manager’s gas funds for the user.

> The Dapp’s **Manager** can add or remove multiple '**Signers'** as per requirement.

Below diagram explains how the permissionless paymaster works with your DApp:

<figure><img src="https://3129085131-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffg3zJM5ChpTTMyke744p%2Fuploads%2FqbZvXPvll0u4Ng3sYL8s%2Fimage.png?alt=media&#x26;token=214e2472-3cc5-483d-881a-cdfe90b3e4e9" alt=""><figcaption><p>Dapp integration flow with permissionless paymaster</p></figcaption></figure>

As a Dapp, you should have your own signer or delegate the signing part to Zyfi's API. You can easily integration Zyfi's API [here](https://docs.zyfi.org/integration-guide).

> * A manager can have multiple signers.
> * All added signers will have access to the gas funds deposited by the manager.
> * In fact, a manager can be a signer address as well.

<figure><img src="https://3129085131-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffg3zJM5ChpTTMyke744p%2Fuploads%2FZZdUkwp4M33sKOAJD9Ut%2Fmanager-signer.jpg?alt=media&#x26;token=b67fb118-dbfd-4262-a2bf-531f2f4b5d4f" alt=""><figcaption><p>Possible relations between signers and manager</p></figcaption></figure>

As a Dapp, you have nothing to handle except for funds added to the paymaster contract and any custom logic you want to apply.

### Zyfi At The Rescue

This paymaster can be integrated with Zyfi API as well. There are many Dapps who do not need a backend server just for paymaster. In that scenario, a Dapp can always delegate the "signer" to the Zyfi API and make [Zyfi API](https://docs.zyfi.org/integration-guide/paymasters-integration) call based on the business requirement.&#x20;

<figure><img src="https://3129085131-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffg3zJM5ChpTTMyke744p%2Fuploads%2F3vVVDugBbALNZacUi4GG%2Fflowchart_3.png?alt=media&#x26;token=965bcddf-b2e9-4d48-981c-ee0f9f065ff2" alt=""><figcaption><p>Dapps can choose to manage signer or delegate to Zyfi API</p></figcaption></figure>

[^1]:
