Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Simple quickstart (#893)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Villanueva <[email protected]>
  • Loading branch information
uF4No and MexicanAce authored Feb 2, 2024
1 parent d9963b0 commit 769e18a
Show file tree
Hide file tree
Showing 14 changed files with 696 additions and 586 deletions.
3 changes: 2 additions & 1 deletion cspell-zksync.txt
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,8 @@ Zerion
Maverik
freezability
predeloyed
Aave

// testing ci
Omnibtc
Owlto
Owlto
4 changes: 4 additions & 0 deletions docs/.vuepress/sidebar/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ export const enSidebar = sidebar({
text: "dApp Development",
collapsible: true,
children: [
{
text: "Quickstart Frontend with Paymaster",
link: "/build/tutorials/dapp-development/frontend-quickstart-paymaster.md",
},
{
text: "NFT Gated Paymaster",
link: "/build/tutorials/dapp-development/gated-nft-paymaster-tutorial.md",
Expand Down
10 changes: 10 additions & 0 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,16 @@ $border-color: #e5e7eb;
}
}

.time-label-wrapper
{
text-align: center;
font-size: 14px;
font-weight: 500;
}
.time-label-wrapper p{
margin: 0;
}

.card-container {
display: grid;
grid-auto-columns: min-content;
Expand Down
Binary file added docs/assets/images/quickstart-dai-fees.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/quickstart-hello-nofee.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/quickstart-hello.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/quickstart-tutorial-cli.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/images/start-1.png
Binary file not shown.
Binary file removed docs/assets/images/start-2.png
Binary file not shown.
Binary file removed docs/assets/images/start-6.jpeg
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/build/developer-reference/account-abstraction.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ To ensure users experience paymasters on testnet, as well as keep supporting pay

The paymaster supports only the [approval based](#approval-based-paymaster-flow) paymaster flow and requires that the `token` param is equal to the token being swapped and `minAllowance` to equal to least `tx.maxFeePerGas * tx.gasLimit`. In addition, the testnet paymaster does not make use of the `_innerInput` parameter, so nothing should be provided (empty `bytes`).

An example of how to use testnet paymaster can be seen in the [quickstart](../../build/quick-start/hello-world.md#paying-fees-using-testnet-paymaster) tutorial.
An example of how to use testnet paymaster can be seen in the [frontend quickstart](../tutorials/dapp-development/frontend-quickstart-paymaster.md#pay-fees-with-erc20-tokens) tutorial.

## Signature validation

Expand Down
Loading

0 comments on commit 769e18a

Please sign in to comment.