diff --git a/docs/build-on-linea/quickstart/verify-smart-contract/foundry.md b/docs/build-on-linea/quickstart/verify-smart-contract/foundry.md index 9ef222894..6428145cb 100644 --- a/docs/build-on-linea/quickstart/verify-smart-contract/foundry.md +++ b/docs/build-on-linea/quickstart/verify-smart-contract/foundry.md @@ -11,6 +11,12 @@ You'll need to get a Lineascan (Linea instance of Etherscan) API key by creating ## Verify your smart contract +:::note + +These instructions verify using Etherscan, which currently does not support Yul. If you would like to verify using Blockscout, please use the API URLs referenced [here](../../../use-mainnet/info-contracts.md#block-explorers). + +::: + ### Verify a contract that has already been deployed If you want to verify a contract that has already been deployed, you can use the following commands: diff --git a/docs/build-on-linea/quickstart/verify-smart-contract/hardhat.md b/docs/build-on-linea/quickstart/verify-smart-contract/hardhat.md index 28e6e0426..6fdee3f57 100644 --- a/docs/build-on-linea/quickstart/verify-smart-contract/hardhat.md +++ b/docs/build-on-linea/quickstart/verify-smart-contract/hardhat.md @@ -34,6 +34,12 @@ const { PRIVATE_KEY, LINEASCAN_API_KEY } = process.env; ## Add the custom chain +:::note + +These instructions verify using Etherscan, which currently does not support Yul. If you would like to verify using Blockscout, please use the API URLs referenced [here](../../../use-mainnet/info-contracts.md#block-explorers). + +::: + import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; diff --git a/docs/build-on-linea/quickstart/verify-smart-contract/truffle.md b/docs/build-on-linea/quickstart/verify-smart-contract/truffle.md index e81e277b9..362918133 100644 --- a/docs/build-on-linea/quickstart/verify-smart-contract/truffle.md +++ b/docs/build-on-linea/quickstart/verify-smart-contract/truffle.md @@ -6,6 +6,12 @@ To verify your contracts, you can use Truffle's verification plugin [truffle-plu These steps assume you stored your secret keys in a `.env` file, which you can read more about [here](./../deploy-smart-contract/truffle.mdx/#truffle-configjs). +:::note + +These instructions verify using Etherscan, which currently does not support Yul. If you would like to verify using Blockscout, please use the API URLs referenced [here](../../../use-mainnet/info-contracts.md#block-explorers). + +::: + ## Download the plugin In your Truffle project, install the plugin: diff --git a/docs/use-mainnet/info-contracts.md b/docs/use-mainnet/info-contracts.md index 5e5fc08e2..c18faba76 100644 --- a/docs/use-mainnet/info-contracts.md +++ b/docs/use-mainnet/info-contracts.md @@ -341,46 +341,33 @@ If you want to drip Goerli ETH directly to Linea, you can use the [Infura Linea -| Explorer name | URL | -| ----------- | ----------- | -| Lineascan | [https://lineascan.build](https://lineascan.build) | -| L2Scan | [https://linea.l2scan.co](https://linea.l2scan.co) | +| Explorer name | URL | API URL | +| ----------- | ----------- | ----------- | +| Lineascan | https://lineascan.build | https://api.lineascan.build/api | +| L2Scan | https://linea.l2scan.co | +| Blockscout | https://explorer.linea.build | https://explorer.linea.build/api | -| Explorer name | URL | -| ----------- | ----------- | -| Lineascan | [https://goerli.lineascan.build](https://goerli.lineascan.build) | +| Explorer name | URL | API URL | +| ----------- | ----------- | ----------- | +| Lineascan | https://goerli.lineascan.build | https://api-testnet.lineascan.build/api | +| Blockscout | https://explorer.goerli.linea.build | https://explorer.goerli.linea.build/api | -If you're new to public blockchain networks, you might not be familiar with _block explorers_. It's helpful to remember that the network is keeping track of a _ledger_ of accounts, with tokens attributed to them, sent between them, created by them, etc. - -So as users take actions on the network, there are changes to those accounts and tokens. A block explorer is an interface through which you can look at that information in all its raw, gritty detail. +:::note -> -> If you want to learn more about explorers and how to use them, check out MetaMask's article on the topic: [How to check my wallet activity on the blockchain explorer](https://support.metamask.io/hc/en-us/articles/360057536611-How-to-check-my-wallet-activity-on-the-blockchain-explorer) -> +Learn how to verify your contracts in our [quickstart](../build-on-linea/quickstart/). -## Smart contract verification - -You can find more details on how to verify your contracts [in our quickstart](../build-on-linea/quickstart/). - - - +::: -| apiURL | browserURL | -| ----------- | ----------- | -| `https://api.lineascan.build/api` | `https://lineascan.build/address` | - - - +If you're new to public blockchain networks, you might not be familiar with _block explorers_. It's helpful to remember that the network is keeping track of a _ledger_ of accounts, with tokens attributed to them, sent between them, created by them, etc. -| apiURL | browserURL | -| ----------- | ----------- | -| `https://api-testnet.lineascan.build/api` | `https://goerli.lineascan.build/address` | +So, as users take actions on the network, there are changes to those accounts and tokens. A block explorer is an interface through which you can look at that information in all its raw, gritty detail. - - +> +> If you want to learn more about explorers and how to use them, check out MetaMask's article on the topic: [How to check my wallet activity on the blockchain explorer](https://support.metamask.io/hc/en-us/articles/360057536611-How-to-check-my-wallet-activity-on-the-blockchain-explorer) +> \ No newline at end of file diff --git a/docusaurus.config.js b/docusaurus.config.js index 0f9f28160..18a1bd1db 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -131,11 +131,11 @@ const config = { }, { type: "dropdown", - label: "Learn", + label: "Tutorials", position: "left", items: [ { - label: "Community tutorials", + label: "Community Guides", to: "blog", }, {