Skip to content

Commit

Permalink
chore: add paymaster flow selection
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Apr 11, 2024
1 parent 03e321e commit 95c6ea6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 24 deletions.
33 changes: 9 additions & 24 deletions content/10.quick-start/5.paymaster.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,44 +42,29 @@ As we delve into paymasters, remember that while they offer enhanced flexibility
implementation should always prioritize security and user trust. This guide aims to equip you with the knowledge
to effectively incorporate paymasters into your zkSync projects, paving the way for more user-friendly and accessible dApps.

## Framework selection
## Paymaster flow selection

Select the framework you want to get started using zkSync Era with.
Select the paymaster type you want to get started using zkSync Era with.

::content-switcher
---
items: [{
label: 'Hardhat',
partial: '_deploy_factory/_hardhat_deploy_contract_factory'
}, {
label: 'Foundry',
partial: '_deploy_factory/_foundry_deploy_contract_factory'
label: 'General',
partial: '_paymasters/_general_paymaster_flow'
},{
label: 'Approval',
partial: '_paymasters/_approval_paymaster_flow'
}]
---
::

## Takeaways

- **Contract Factories:** Utilizing contract factories significantly streamlines
the deployment process, allowing for the creation of multiple instances of a
contract, like the `CrowdfundingCampaign`, with varied parameters.
- **Scalability and Management:** Contract factories offer a scalable solution to manage
numerous contract instances, enhancing project organization and efficiency.
- **Event-Driven Insights:** The `CampaignCreated` event in the factory contract provides
a transparent mechanism to track each crowdfunding campaign's deployment, useful for
off-chain monitoring and interaction.
-

## Next steps

With the contract factory in your zkSync development arsenal, you're set to elevate
your smart contract projects. Here's how you can further your journey:

- **Contract Testing:** Progress to the next guide focused on testing your contracts.
Ensuring the reliability and security of your `CrowdfundingCampaign` through
comprehensive tests is critical.
- **Advanced zkSync Integrations:** Explore deeper into zkSync's ecosystem by
implementing features like account abstraction and paymasters to enhance user
experience and contract flexibility.
- **Community Engagement and Contribution:** Join the vibrant zkSync community.
Participate in forums, Discord, or GitHub discussions. Sharing insights, asking queries,
and contributing can enrich the ecosystem and your understanding of zkSync.
-
Empty file.

0 comments on commit 95c6ea6

Please sign in to comment.