Skip to content

Commit fe3b006

Browse files
authored
Merge pull request #213 from scroll-tech/isabellewei/remove-blockscout
Remove references to blockscout
2 parents bcd0b2e + 4f28529 commit fe3b006

File tree

4 files changed

+12
-47
lines changed

4 files changed

+12
-47
lines changed

src/components/RPCTable/RPCTable.astro

-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ chainData = chainData || {
5454
url: "https://scrollscan.com",
5555
standard: "EIP3091",
5656
},
57-
{
58-
name: "Blockscout",
59-
url: "https://blockscout.scroll.io",
60-
standard: "EIP3091",
61-
},
6257
],
6358
parent: {
6459
type: "L2",

src/content/docs/en/developers/transaction-fees-on-scroll.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Transactions aren't committed 1-by-1 -- they are collected in batches of blocks
6060

6161
### Estimating the L1 Data Fee
6262

63-
Scroll has a pre-deployed `L1GasPriceOracle`, accessible on both Scroll and Scroll Sepolia at ([`0x5300000000000000000000000000000000000002`](https://sepolia-blockscout.scroll.io/address/0x5300000000000000000000000000000000000002)). It provides a `getL1Fee` method to estimate the L1 data fee for a given transaction's raw data.
63+
Scroll has a pre-deployed `L1GasPriceOracle`, accessible on both Scroll and Scroll Sepolia at ([`0x5300000000000000000000000000000000000002`](https://sepolia.scrollscan.com/address/0x5300000000000000000000000000000000000002)). It provides a `getL1Fee` method to estimate the L1 data fee for a given transaction's raw data.
6464

6565
```solidity
6666
function getL1Fee(bytes memory _data) external view override returns (uint256);

src/content/docs/en/developers/verifying-smart-contracts.mdx

+8-37
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,20 @@ After deploying your smart contracts, it's important to verify your code on a bl
1717

1818
## Using Developer Tools
1919

20-
Most smart contract tooling has plugins for verifying your contracts easily on Etherscan. Blockscout supports Etherscan's contract verification APIs, so it's straightforward to use these tools using the APIs of either of these block explorers.
20+
Most smart contract tooling has plugins for verifying your contracts easily on Etherscan.
2121

22-
| Network | Scroll | Scroll Sepolia |
23-
| ---------- | -------------------------------- | ---------------------------------------- |
24-
| Scrollscan | https://api.scrollscan.com/api | https://api-sepolia.scrollscan.com/api |
25-
| Blockscout | https://blockscout.scroll.io/api | https://sepolia-blockscout.scroll.io/api |
22+
- Scroll Mainnet: https://api.scrollscan.com/api
23+
- Scroll Sepolia: https://api-sepolia.scrollscan.com/api
2624

2725
<Aside type="tip" title="Using the Scrollscan API">
2826
When using Scrollscan, you will need to [register an account](https://scrollscan.com/register) and create an API key. The same key can be used for both Scroll Sepolia and mainnet. After creating your API key, please wait a few minutes before it comes into effect.
2927
</Aside>
3028

3129
### Hardhat
3230

33-
Modify `hardhat.config.ts` to point to Scroll's RPC and block explorer API. For Blockscout, a dummy `apiKey` value is required, but anything works for its value. For Scrollscan, use your own API key.
31+
Modify `hardhat.config.ts` to point to Scroll's RPC and block explorer API.
3432

35-
For example, if you are using Scroll Sepolia on Blockscout, your config will look like this:
33+
For example, the config for Scroll Sepolia will look like this:
3634
```javascript
3735
...
3836

@@ -47,15 +45,15 @@ const config: HardhatUserConfig = {
4745
},
4846
etherscan: {
4947
apiKey: {
50-
scrollSepolia: 'abc',
48+
scrollSepolia: <YOUR API KEY>,
5149
},
5250
customChains: [
5351
{
5452
network: 'scrollSepolia',
5553
chainId: 534351,
5654
urls: {
57-
apiURL: 'https://sepolia-blockscout.scroll.io/api',
58-
browserURL: 'https://sepolia-blockscout.scroll.io/',
55+
apiURL: 'https://api-sepolia.scrollscan.com/api',
56+
browserURL: 'https://sepolia.scrollscan.com/',
5957
},
6058
},
6159
],
@@ -92,9 +90,6 @@ When using Foundry, the `verify-contract` command helps automate the process of
9290

9391
Refer to the [Foundry documentation](https://book.getfoundry.sh/reference/forge/forge-verify-contract) for further options you can specify.
9492

95-
96-
#### Scrollscan
97-
9893
```bash
9994
forge verify-contract <contract address> <contract name> \
10095
--verifier-url https://api-sepolia.scrollscan.com/api \
@@ -103,28 +98,4 @@ forge verify-contract <contract address> <contract name> \
10398
```
10499
<Aside type="caution" title="Caution">
105100
Do not specify the chain ID.
106-
</Aside>
107-
108-
#### Blockscout
109-
110-
Specify the verification provider as `blockscout`.
111-
112-
##### Scroll
113-
```bash
114-
forge verify-contract <contract address> <contract name> \
115-
--verifier-url https://blockscout.scroll.io/api\? \
116-
--verifier blockscout \
117-
--constructor-args <your constructor arguments>
118-
```
119-
120-
##### Scroll Sepolia
121-
```bash
122-
forge verify-contract <contract address> <contract name> \
123-
--verifier-url https://sepolia-blockscout.scroll.io/api\? \
124-
--verifier blockscout \
125-
--constructor-args <your constructor arguments>
126-
```
127-
128-
<Aside type="danger" title="Warning">
129-
Notice we add `\?` at the end of the verifier URL otherwise verification would fail. (Last tested on forge v0.2.0).
130101
</Aside>

src/content/docs/en/user-guide/index.mdx

+3-4
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ If you want to try out Scroll mainnet, follow the guide, then use the mainnet li
2020

2121
Thank you for testing the Scroll Sepolia Testnet. If you have questions or want to give feedback, join our [Discord](https://discord.gg/scroll)!
2222

23-
The Sepolia Testnet consists of _Ethereum's Sepolia Testnet_ and the _Scroll Sepolia_ test network. Sepolia is an Ethereum test network, while Scroll Sepolia is a zero knowledge rollup testnet deployed on top of the former. There are some pre-deployed demo applications: a [bridge](https://sepolia.scroll.io/bridge) between _Sepolia_ and _Scroll Sepolia_,[^1] a [block explorer](https://sepolia-blockscout.scroll.io/) for _Scroll Sepolia_,[^2] and a [rollup explorer](https://sepolia.scroll.io/rollupscan).
23+
The Sepolia Testnet consists of _Ethereum's Sepolia Testnet_ and the _Scroll Sepolia_ test network. Sepolia is an Ethereum test network, while Scroll Sepolia is a zero knowledge rollup testnet deployed on top of the former. There are some pre-deployed demo applications: a [bridge](https://sepolia.scroll.io/bridge) between _Sepolia_ and _Scroll Sepolia_,[^1] a [block explorer](https://sepolia.scrollscan.com) for _Scroll Sepolia_, and a [rollup explorer](https://sepolia.scroll.io/rollupscan).
2424

2525
To view L1 transactions, check out Etherscan's [Sepolia explorer](https://sepolia.etherscan.io/).
26-
To view L2 transactions, you can use [Scrollscan](https://sepolia.scrollscan.com) or Scroll's [Blockscout](https://sepolia-blockscout.scroll.io/), but you may also want to try out the additional functionality provided by [Dora](https://www.ondora.xyz/network/scroll-sepolia/interactions) or [L2Scan](https://scroll-sepolia.l2scan.co/).
26+
To view L2 transactions, you can use [Scrollscan](https://sepolia.scrollscan.com), or you may also want to try out the additional functionality provided by [Dora](https://www.ondora.xyz/network/scroll-sepolia/interactions) or [L2Scan](https://scroll-sepolia.l2scan.co/).
2727

2828
Here is the suggested workflow to explore the Testnet:
2929

@@ -40,5 +40,4 @@ You can find the instructions for each app in the rest of this user guide.
4040

4141
If you encounter any issues, join our [Discord](https://discord.gg/scroll) and talk to us in the `#general-support` channel. We would love to hear your thoughts or feedback on how we can improve your experience, too.
4242

43-
[^1]: Forked from the [Hop Exchange](https://hop.exchange/) UI 🐇🙌
44-
[^2]: Using [Blockscout](https://blockscout.com/)'s great open source block explorer
43+
[^1]: Forked from the [Hop Exchange](https://hop.exchange/) UI 🐇🙌

0 commit comments

Comments
 (0)