Skip to content

Commit ab3c4b6

Browse files
style review plus revert css
1 parent 2d4c54e commit ab3c4b6

File tree

8 files changed

+180
-184
lines changed

8 files changed

+180
-184
lines changed

docs/_site_essentials/stylesheets/extra.css

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -38,59 +38,4 @@ div.flex-figure div.flex-figure-left {
3838

3939
div.flex-figure div.flex-figure-right {
4040
flex-grow: 2;
41-
}
42-
43-
.feature-paragraph {
44-
text-align: left;
45-
}
46-
47-
.md-sidebar.md-sidebar--secondary,
48-
.md-content__button {
49-
display: none;
50-
}
51-
52-
* {
53-
box-sizing: border-box;
54-
}
55-
56-
.grid-container {
57-
display: flex;
58-
flex-wrap: wrap;
59-
width: 100%;
60-
padding: 10px;
61-
align-items: stretch;
62-
}
63-
64-
.grid-item {
65-
background-color: hsla(0, 0%, 100%, 0);
66-
border-radius: 8px;
67-
-webkit-box-shadow: 0 8px 16px 0 rgb(17 17 17 / 8%);
68-
box-shadow: 0 8px 16px 0 rgb(17 17 17 / 8%);
69-
padding: 33px;
70-
margin: 5px;
71-
text-align: center;
72-
align-items: center;
73-
flex: 32%;
74-
width: 32%;
75-
}
76-
77-
@media screen and (max-width: 1000px) {
78-
.grid-item {
79-
flex: 32%;
80-
max-width: 32%;
81-
}
82-
}
83-
84-
@media screen and (max-width: 800px) {
85-
.grid-item {
86-
flex: 48%;
87-
max-width: 48%;
88-
}
89-
}
90-
91-
@media screen and (max-width: 600px) {
92-
.grid-item {
93-
flex: 100%;
94-
max-width: 100%;
95-
}
9641
}

docs/tools/gas/matic-faucet.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
**Polygon Faucet** is a tool provided by **Polygon** and its ecosystem partners such as **Alchemy** and **Quicknode** that **allows you to obtain free MATIC tokens on the Mumbai Testnet** and get started with the Polygon network. **These test tokens enable you to work with Polygon features without having to spend actual MATIC tokens** on the Mainnet.
1+
Polygon Faucet is a tool provided by Polygon and its ecosystem partners such as Alchemy and Quicknode that allows you to obtain free MATIC tokens on the Mumbai Testnet and get started with the Polygon network. These test tokens enable you to work with Polygon features without having to spend actual MATIC tokens on the mainnet.
22

3-
Additionally, you can also receive **Polygon zkEVM Testnet ETH** on Polygon Faucet.
3+
Additionally, you can also receive Polygon zkEVM testnet ETH on Polygon Faucet.
44

55
!!! info
6-
Tokens on Testnet networks like Mumbai, Goerli & Polygon zkEVM Testnet have no value as they are only used for testing purposes.
6+
Tokens on testnet networks like Mumbai, Goerli & Polygon zkEVM testnet have no value as they are only used for testing purposes.
77

8-
We have listed three faucet tools you can use to receive **MATIC Testnet tokens**, along with their usage guides, in the sections below.
8+
We have listed three faucet tools you can use to receive MATIC testnet tokens, along with their usage guides, in the sections below.
99

10-
- [Polygon Faucet](https://faucet.polygon.technology/)
11-
- [Alchemy MATIC Faucet](https://mumbaifaucet.com/)
12-
- [QuickNode Multi-chain Faucet](https://faucet.quicknode.com/drip)
10+
- [Polygon faucet](https://faucet.polygon.technology/)
11+
- [Alchemy MATIC faucet](https://mumbaifaucet.com/)
12+
- [QuickNode multi-chain faucet](https://faucet.quicknode.com/drip)
1313

14-
In addition, Polygon faucet also provides **Polygon zkEVM Testnet ETH tokens**.
14+
In addition, Polygon faucet also provides Polygon zkEVM testnet ETH tokens.
1515

1616
## Polygon faucet
1717

18-
- Navigate to [**faucet.polygon.technology**](https://faucet.polygon.technology/)
18+
- Navigate to [faucet.polygon.technology](https://faucet.polygon.technology/)
1919

2020
![img](../../img/tools/gas/faucet.png)
2121

22-
- Select one of the blockchain testnet networks, where:
23-
- **Mumbai** - Polygon Testnet
24-
- **Goerli** - Ethereum Testnet
25-
- **Polygon zkEVM** - Polygon zkEVM Testnet
22+
- Select one of the blockchain testnet networks:
23+
- Mumbai - Polygon Testnet
24+
- Goerli - Ethereum Testnet
25+
- Polygon zkEVM - Polygon zkEVM Testnet
2626

27-
- Select the type of Testnet token that you want to receive, where:
28-
- **MATIC Token** - Testnet token of Polygon network
29-
- **Test ERC20** - Standard testnet token on the Ethereum network
30-
- **Test ERC1155** - Standard testnet token used for NFTs
31-
- **LINK** - ERC677 testnet token that inherits functionality from the ERC20
32-
- **zkEVM ETH** - Testnet ETH on the Polygon zkEVM testnet network
27+
- Select the type of Testnet token that you want to receive:
28+
- **MATIC Token** - Testnet token of Polygon network
29+
- **Test ERC20** - Standard testnet token on the Ethereum network
30+
- **Test ERC1155** - Standard testnet token used for NFTs
31+
- **LINK** - ERC677 testnet token that inherits functionality from the ERC20
32+
- **zkEVM ETH** - Testnet ETH on the Polygon zkEVM testnet network
3333

3434
- Enter your wallet address (you can copy it from your MetaMask or Polygon wallet)
3535

@@ -41,38 +41,38 @@ In addition, Polygon faucet also provides **Polygon zkEVM Testnet ETH tokens**.
4141

4242
!!! danger
4343

44-
If you don't have enough MATIC Testnet tokens in your account to pay for the gas fees, the transaction may fail. If you require testnet tokens in bulk, please fill **[this form](https://docs.google.com/forms/d/e/1FAIpQLSe4npoGldJknEs9EBtPaV3AS-0HTso2IuMWDCiMmLEMCx8euQ/viewform)**.
44+
If you don't have enough MATIC testnet tokens in your account to pay for the gas fees, the transaction may fail. If you require testnet tokens in bulk, please fill [this form](https://docs.google.com/forms/d/e/1FAIpQLSe4npoGldJknEs9EBtPaV3AS-0HTso2IuMWDCiMmLEMCx8euQ/viewform).
4545

46-
- After confirmation, you will receive the requested Testnet tokens within 1 to 2 minutes.
46+
- After confirmation, you will receive the requested testnet tokens within 1 to 2 minutes.
4747

4848
![img](../../img/tools/gas/success.png)
4949

5050
## Alchemy MATIC faucet
5151

5252
!!! tip "GET 5 MATIC"
5353

54-
If you sign up or log in with an Alchemy account, you get 5 times more MATIC/day (**up to 5 MATIC**).
54+
If you sign up or log in with an Alchemy account, you get 5 times more MATIC/day (up to 5 MATIC).
5555

56-
- You can request MATIC tokens from **Alchemy's Mumbai Faucet**. In order to receive Testnet tokens, head over to the [**Mumbai Faucet website**](https://mumbaifaucet.com/) by Alchemy, enter your **wallet address** and hit the **Send Me MATIC** button.
56+
- You can request MATIC tokens from Alchemy's Mumbai Faucet. In order to receive testnet tokens, head over to the [Mumbai Faucet website](https://mumbaifaucet.com/) by Alchemy, enter your wallet address and hit the **Send Me MATIC** button.
5757

5858
![img](../../img/tools/gas/alchemy-faucet1.png)
5959

6060
- You can check the transaction hash as soon as you finish requesting your MATIC and also view the transaction details on [Polygonscan](https://mumbai.polygonscan.com/).
6161

6262
## QuickNode multi-chain faucet
6363

64-
In order to receive MATIC Mumbai tokens using QuickNode Fauct,
64+
In order to receive MATIC Mumbai tokens using QuickNode faucet,
6565

66-
- Head over to [QuickNode Multi-chain Faucet](https://faucet.quicknode.com/drip). Connect your wallet (MetaMask or Phantom) by clicking on **Connect Wallet**. Select Polygon and Mumbai Testnet from the dropdown menus, and then click on **Continue**.
66+
- Head over to [QuickNode multi-chain faucet](https://faucet.quicknode.com/drip). Connect your wallet (MetaMask or Phantom) by clicking on **Connect Wallet**. Select **Polygon and Mumbai Testnet** from the dropdown menus, and then click on **Continue**.
6767

6868
![img](../../img/tools/gas/quicknode-faucet2.png)
6969

7070
!!! tip "Get 1 MATIC"
7171

72-
If you **tweet** the [drip faucet URL](https://faucet.quicknode.com/drip) along with your wallet address and submit the tweet URL, you get 10X more MATIC Testnet tokens (i.e. 1 MATIC).
72+
If you tweet the [drip faucet URL](https://faucet.quicknode.com/drip) along with your wallet address and submit the tweet URL, you get 10X more MATIC testnet tokens (i.e. 1 MATIC).
7373

74-
- To receive 0.1 Testnet MATIC, click on **No thanks, just send me 0.1 MATIC**.
74+
- To receive 0.1 testnet MATIC, click on No thanks, just send me 0.1 MATIC.
7575

7676
![img](../../img/tools/gas/quicknode-faucet3.png)
7777

78-
- You can also view your transaction details on [Polygonscan](https://mumbai.polygonscan.com/) by clicking on the **TxHash**.
78+
- You can also view your transaction details on [Polygonscan](https://mumbai.polygonscan.com/) by clicking on the TxHash.

docs/tools/gas/polygon-gas-station.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
**Polygon gas station** aims to help dApp developers with gas price recommendations, so that they can use it before sending transaction off to the **Polygon** network.
1+
Polygon gas station aims to help dApp developers with gas price recommendations, so that they can use it before sending transaction off to the Polygon network.
22

3-
We received a lot of requests from dApp developers for building a gas price recommendation service. So we took some inspiration from **Eth Gas Station** and built one.
3+
We received a lot of requests from dApp developers for building a gas price recommendation service. So we took some inspiration from Eth Gas Station and built one.
44

5-
**Polygon gas station** has been deployed both on the Polygon Mainnet & Mumbai Testnet. It queries the RPC for `eth_feeHistory` and fetches the 10th, 25th, and 50th percentiles of priority fees for transactions in each of the last 15 blocks. The average value of the 10th, 25th, and 50th percentiles become the `safeLow`, `standard`, and fast fee predictions.
5+
Polygon gas station has been deployed both on the Polygon mainnet & Mumbai testnet. It queries the RPC for `eth_feeHistory` and fetches the 10th, 25th, and 50th percentiles of priority fees for transactions in each of the last 15 blocks. The average value of the 10th, 25th, and 50th percentiles become the `safeLow`, `standard`, and fast fee predictions.
66

77
!!! important
88
On Polygon PoS mainnet, it is mandatory to pass a minimum priority fees of 30 gwei.
@@ -11,7 +11,7 @@ We received a lot of requests from dApp developers for building a gas price reco
1111

1212
### Mumbai
1313

14-
For getting gas price recommendation from this oracle (Polygon Mumbai), send a **GET** request to [https://gasstation-testnet.polygon.technology/v2](https://gasstation-testnet.polygon.technology/v2).
14+
For getting gas price recommendation from this oracle (Polygon Mumbai), send a `GET` request to [https://gasstation-testnet.polygon.technology/v2](https://gasstation-testnet.polygon.technology/v2).
1515

1616
#### cURL
1717

@@ -89,4 +89,4 @@ An example JSON response will look like this:
8989
- `safelow`, `standard`, `fast`, `estimatedBaseFee` are gas prices in GWei. You can use these prices before sending transaction off to Polygon, depending upon your needs.
9090
- `blockNumber` tells what was latest block mined when recommendation was made.
9191
- `blockTime`, in second, gives average block time of the network.
92-
- On Polygon PoS mainnet, it is mandatory to pass a **minimum priority fees of 30 gwei**.
92+
- On Polygon PoS mainnet, it is mandatory to pass a minimum priority fees of 30 gwei.

docs/tools/index.md

Lines changed: 125 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,125 @@
1-
<div class="section-wrapper product-section-head">
2-
<div class="hero-image"><img src="../img/home/main-img.svg" loading="lazy" class="hero-image" style="width: 40%; float: right;" alt=""></div>
3-
<div class="hero-left">
4-
<h1 class="hero-heading">Developer tools</h1>
5-
<p class="hero-subtext">This section of the documentation describes some of the available third-party tools used by developers with Polygon products and services.</p>
6-
<p class="hero-subtext">Find out how to access data, code against blockchain networks, use data oracles, and much more. </p>
7-
</div>
8-
</div>
9-
<div class="grid-container">
10-
<div class="grid-item">
11-
<a href="./smart-contracts/hardhat">
12-
<div class="product-list-item-header">
13-
<div class="feature-card-heading">Smart contracts</div>
14-
</div>
15-
<p class="feature-paragraph">Common software for designing, building, and deploying smart contracts.</p>
16-
</a>
17-
</div>
18-
<div class="grid-item">
19-
<a href="./gas/matic-faucet">
20-
<div class="product-list-item-header">
21-
<div class="feature-card-heading">Gas</div>
22-
</div>
23-
<p class="feature-paragraph">The Polygon MATIC gas faucet and gas estimation tools.</p>
24-
</a>
25-
</div>
26-
<div class="grid-item">
27-
<a href="./data/the-graph/overview">
28-
<div class="product-list-item-header">
29-
<div class="feature-card-heading">Data</div>
30-
</div>
31-
<p class="feature-paragraph">Software tools, such as Graph, used for efficient data manipulation on Polygon networks.</p>
32-
</a>
33-
</div>
34-
<div class="grid-item">
35-
<a href="./matic-js/get-started">
36-
<div class="product-list-item-header">
37-
<div class="feature-card-heading">MaticJS</div>
38-
</div>
39-
<p class="feature-paragraph">The <code>matic.js</code> library used to interact with Polygon networks and services.</p>
40-
</a>
41-
</div>
42-
<div class="grid-item">
43-
<a href="./storage/ipfs">
44-
<div class="product-list-item-header">
45-
<div class="feature-card-heading">Storage</div>
46-
</div>
47-
<p class="feature-paragraph">Interact with blockchain storage services such as IPFS.</p>
48-
</a>
49-
</div>
50-
<div class="grid-item">
51-
<a href="./oracles/getting-started">
52-
<div class="product-list-item-header">
53-
<div class="feature-card-heading">Oracles</div>
54-
</div>
55-
<p class="feature-paragraph">Oracle services used for accessing accurate offline data.</p>
56-
</a>
57-
</div>
58-
<div class="grid-item">
59-
<a href="./wallets/getting-started">
60-
<div class="product-list-item-header">
61-
<div class="feature-card-heading">Wallets</div>
62-
</div>
63-
<p class="feature-paragraph">Using Polygon-compatible external wallets, such as MetaMask, with Polygon networks.</p>
64-
</a>
65-
</div>
66-
<div class="grid-item">
67-
<a href="https://polygonscan.com/">
68-
<div class="product-list-item-header">
69-
<div class="feature-card-heading">Block explorers</div>
70-
</div>
71-
<p class="feature-paragraph">Quick links to useful block explorers such as https://polygonscan.com/ for example.</p>
72-
</a>
73-
</div>
74-
</div>
1+
<style>
2+
.feature-paragraph {
3+
text-align: left;
4+
}
5+
.md-sidebar.md-sidebar--secondary,
6+
.md-content__button {
7+
display: none;
8+
}
9+
* {
10+
box-sizing: border-box;
11+
}
12+
.grid-container {
13+
display: flex;
14+
flex-wrap: wrap;
15+
width: 100%;
16+
padding: 10px;
17+
align-items: stretch;
18+
}
19+
.grid-item {
20+
background-color: hsla(0,0%,100%,0);
21+
border-radius: 8px;
22+
-webkit-box-shadow: 0 8px 16px 0 rgb(17 17 17 / 8%);
23+
box-shadow: 0 8px 16px 0 rgb(17 17 17 / 8%);
24+
padding: 33px;
25+
margin: 5px;
26+
text-align: center;
27+
align-items: center;
28+
flex: 32%;
29+
width: 32%;
30+
}
31+
@media screen and (max-width: 1000px) {
32+
.grid-item {
33+
flex: 32%;
34+
max-width: 32%;
35+
}
36+
}
37+
@media screen and (max-width: 800px) {
38+
.grid-item {
39+
flex: 48%;
40+
max-width: 48%;
41+
}
42+
}
43+
@media screen and (max-width: 600px) {
44+
.grid-item {
45+
flex: 100%;
46+
max-width: 100%;
47+
}
48+
}
49+
</style>
50+
<div class="section-wrapper product-section-head">
51+
<div class="hero-image"><img src="../img/home/main-img.svg" loading="lazy" class="hero-image" style="width: 40%; float: right;"></div>
52+
<div class="hero-left">
53+
<h1 class="hero-heading">Developer tools</h1>
54+
<p class="hero-subtext">This section of the documentation describes some of the available third-party tools used by developers with Polygon products and services.</p>
55+
<p class="hero-subtext">Find out how to access data, code against blockchain networks, use data oracles, and much more. </p>
56+
</div>
57+
</div>
58+
<div class="grid-container">
59+
<div class="grid-item">
60+
<a href="./smart-contracts/hardhat">
61+
<div class="product-list-item-header">
62+
<div class="feature-card-heading">Smart contracts</div>
63+
</div>
64+
<p class="feature-paragraph">Common software for designing, building, and deploying smart contracts.</p>
65+
</a>
66+
</div>
67+
<div class="grid-item">
68+
<a href="./gas/matic-faucet">
69+
<div class="product-list-item-header">
70+
<div class="feature-card-heading">Gas</div>
71+
</div>
72+
<p class="feature-paragraph">The Polygon MATIC gas faucet and gas estimation tools.</p>
73+
</a>
74+
</div>
75+
<div class="grid-item">
76+
<a href="./data/the-graph/overview">
77+
<div class="product-list-item-header">
78+
<div class="feature-card-heading">Data</div>
79+
</div>
80+
<p class="feature-paragraph">Software tools, such as Graph, used for efficient data manipulation on Polygon networks.</p>
81+
</a>
82+
</div>
83+
<div class="grid-item">
84+
<a href="./matic-js/get-started">
85+
<div class="product-list-item-header">
86+
<div class="feature-card-heading">MaticJS</div>
87+
</div>
88+
<p class="feature-paragraph">The <code>matic.js</code> library used to interact with Polygon networks and services.</p>
89+
</a>
90+
</div>
91+
<div class="grid-item">
92+
<a href="./storage/ipfs">
93+
<div class="product-list-item-header">
94+
<div class="feature-card-heading">Storage</div>
95+
</div>
96+
<p class="feature-paragraph">Interact with blockchain storage services such as IPFS.</p>
97+
</a>
98+
</div>
99+
<div class="grid-item">
100+
<a href="./oracles/getting-started">
101+
<div class="product-list-item-header">
102+
<div class="feature-card-heading">Oracles</div>
103+
</div>
104+
<p class="feature-paragraph">Oracle services used for accessing accurate offline data.</p>
105+
</a>
106+
</div>
107+
<div class="grid-item">
108+
<a href="./wallets/getting-started">
109+
<div class="product-list-item-header">
110+
<div class="feature-card-heading">Wallets</div>
111+
</div>
112+
<p class="feature-paragraph">Using Polygon-compatible external wallets, such as MetaMask, with Polygon networks.</p>
113+
</a>
114+
</div>
115+
<div class="grid-item">
116+
<a href="https://polygonscan.com/">
117+
<div class="product-list-item-header">
118+
<div class="feature-card-heading">Block explorers</div>
119+
</div>
120+
<p class="feature-paragraph">Quick links to useful block explorers such as https://polygonscan.com/ for example.</p>
121+
</a>
122+
</div>
123+
</div>
124+
</div>
125+
<script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=6569b132e06e045d402ee3ac" type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>

0 commit comments

Comments
 (0)