Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update template version and sdk links #39

Merged
merged 1 commit into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ useHead({
},
});

const seoDescription =
'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.';

useSeoMeta({
titleTemplate: `%s - ${seo?.siteName}`,
ogSiteName: seo?.siteName,
ogUrl: 'https://code.zksync.io',
description:
'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.',
ogDescription:
'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.',
description: seoDescription,
ogDescription: seoDescription,
twitterTitle: `%s`,
twitterDescription:
'Build together with the ZKsync Community. Learn how to build amazing smart contracts and dApps on ZKsync Era.',
twitterDescription: seoDescription,
twitterCard: 'summary_large_image',
twitterSite: '@zksync',
twitterCreator: '@ZKsyncDevs',
Expand Down
Binary file modified bun.lockb
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,6 @@ Now, let's call the `increment` method on Layer 2 from Layer 1.
- To learn more about L1->L2 interaction on ZKsync, check out the
[documentation](https://docs.zksync.io/build/developer-reference/l1-l2-interoperability).
- To learn more about the `zksync-ethers` SDK, check out its
[documentation](https://docs.zksync.io/sdk/js/ethers).
[documentation](https://sdk.zksync.io/js/ethers).
- To learn more about the ZKsync hardhat plugins, check out their
[documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started).
2 changes: 1 addition & 1 deletion content/tutorials/daily-spend-limit-account/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ Let's test the `SpendLimit` contract works to make it refuse ETH transfers that
- To learn more about L1->L2 interaction on ZKsync, check out the
[documentation](https://docs.zksync.io/build/developer-reference/l1-l2-interoperability).
- To learn more about the `zksync-ethers` SDK, check out its
[documentation](https://docs.zksync.io/sdk/js/ethers).
[documentation](https://sdk.zksync.io/js/ethers).
- To learn more about the ZKsync hardhat plugins, check out their
[documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started).

Expand Down
2 changes: 1 addition & 1 deletion content/tutorials/erc20-paymaster/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,6 @@ As a workaround, try including a specific `gasLimit` value in the transaction.
- To learn more about L1->L2 interaction on ZKsync, check out the
[documentation](https://docs.zksync.io/build/developer-reference/l1-l2-interoperability).
- To learn more about the `zksync-ethers` SDK, check out its
[documentation](https://docs.zksync.io/sdk/js/ethers).
[documentation](https://sdk.zksync.io/js/ethers).
- To learn more about the ZKsync hardhat plugins, check out their
[documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started).
2 changes: 1 addition & 1 deletion content/tutorials/frontend-paymaster/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ Now you should be able to update the greeting message with ETH or any of the ava
- For an overview of security and best practices for developing on ZKsync Era,
refer to the [Security and best practices page](https://docs.zksync.io/build/developer-reference/best-practices).
- To learn more about the `zksync-ethers` SDK, check out its
[documentation](https://docs.zksync.io/sdk/js/ethers).
[documentation](https://sdk.zksync.io/js/ethers).
- To learn more about the ZKsync hardhat plugins, check out their
[documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started).
- If you have a project, check out our [migration guide](https://docs.zksync.io/build/tooling/hardhat/migrating-to-zksync).
6 changes: 3 additions & 3 deletions content/tutorials/native-aa-multisig/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -964,8 +964,8 @@ export default async function (hre: HardhatRuntimeEnvironment) {

::callout{icon="i-heroicons-light-bulb"}
ZKsync has different address derivation rules from Ethereum.
Always use the [`createAddress`](https://docs.zksync.io/sdk/js/ethers/api/v6/utilities/utils#createaddress)
and [`create2Address`](https://docs.zksync.io/sdk/js/ethers/api/v6/utilities/utils#create2address) utility functions of the `zksync-ethers` SDK.
Always use the [`createAddress`](https://sdk.zksync.io/js/ethers/api/v6/utilities/utils#createaddress)
and [`create2Address`](https://sdk.zksync.io/js/ethers/api/v6/utilities/utils#create2address) utility functions of the `zksync-ethers` SDK.

Read the documentation for more information on [address derivation differences between Ethereum and ZKsync](https://docs.zksync.io/build/developer-reference/ethereum-differences/evm-instructions#address-derivation).
::
Expand Down Expand Up @@ -1206,6 +1206,6 @@ so it has enough funds to pay for the transaction fees.
- To learn more about L1->L2 interaction on ZKsync, check out the
[documentation](https://docs.zksync.io/build/developer-reference/l1-l2-interoperability).
- To learn more about the `zksync-ethers` SDK, check out its
[documentation](https://docs.zksync.io/sdk/js/ethers).
[documentation](https://sdk.zksync.io/js/ethers).
- To learn more about the ZKsync hardhat plugins, check out their
[documentation](https://docs.zksync.io/build/tooling/hardhat/getting-started).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"release": "semantic-release"
},
"dependencies": {
"@matterlabs/docs-nuxt-template": "2.3.0",
"@matterlabs/docs-nuxt-template": "2.4.0",
"@nuxt/content": "^2.12.1",
"@nuxt/eslint": "^0.3.10",
"@nuxt/fonts": "^0.5.1",
Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ useSeoMeta({
<NuxtImg
src="/logos/zksync-icon.svg"
width="240"
class="invert filter dark:filter-none"
class="mt-[-1em] filter dark:invert"
/>
</template>

Expand Down
Loading