Skip to content

Commit 744fd48

Browse files
commit after merge main
1 parent fefbd4a commit 744fd48

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+190
-179
lines changed

docs/_site_essentials/stylesheets/extra.css

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,19 @@ div.flex-figure div.flex-figure-left {
4141
div.flex-figure div.flex-figure-right {
4242
flex-grow: 1;
4343
flex-shrink: 1.5;
44-
}
44+
<<<<<<< Updated upstream
45+
}
46+
=======
47+
}
48+
49+
/*
50+
.md-footer, .md-footer__inner, .md-footer-meta {
51+
background-color: black;
52+
}
53+
*/
54+
55+
/* THIS CSS REMOVED THE NAVIGATION IN THE FOOTER
56+
.md-footer__inner {
57+
display: none !important;
58+
}*/
59+
>>>>>>> Stashed changes

docs/tools/data/chain-indexer/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ const chain-indexer-framework = require('@maticnetwork/chain-indexer-framework')
3232
To gain a clearer understanding of the entire process, let's consider two straightforward [examples](https://github.com/0xPolygon/chain-indexer-framework/blob/main/examples/README.md).
3333

3434
- [First example](https://github.com/0xPolygon/chain-indexer-framework/blob/main/examples/matic_transfer/README.md) involves indexing MATIC transfer events from the Ethereum blockchain.
35-
- [Second example](https://github.com/0xPolygon/chain-indexer-framework/blob/main/examples/nft_balancer/README.md) involes indexing NFT Transfer and maintaining NFT Balance
35+
- [Second example](https://github.com/0xPolygon/chain-indexer-framework/blob/main/examples/nft_balancer/README.md) involes indexing NFT Transfer and maintaining NFT Balance.
3636

3737
Both these examples encompass all the layers involved, starting from producers, moving through transformers, and concluding with consumers.

docs/tools/data/covalent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
!!! tip "Quickstart"
66

7-
Check out **[<ins>this introduction video</ins>](https://www.youtube.com/watch?v=qhibXxKANWE)**
7+
Check out **[<ins>this introductory video</ins>](https://www.youtube.com/watch?v=qhibXxKANWE)**
88
to get started.
99

1010
## Supported endpoints

docs/tools/data/flair.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ Explore real-world usage of Flair indexing primitives for various use-cases.
9595

9696
### DeFi
9797

98-
* [Aggregate protocol fees in USD across multiple chains](https://github.com/flair-sdk/examples/tree/main/aggregate-protocol-fees-in-usd)
99-
* [Calculate "Health Factor" of positions with contract factory tracking](https://github.com/flair-sdk/examples/tree/main/health-factor-with-factory-tracking)
100-
* [Index Uniswap v2 swaps with USD price for all addresses](https://github.com/flair-sdk/examples/tree/main/uniswap-v2-events-from-all-contracts-with-usd-price)
98+
* [Aggregate protocol fees in USD across multiple chains](https://github.com/flair-sdk/examples/tree/main/aggregate-protocol-fees-in-usd).
99+
* [Calculate "Health Factor" of positions with contract factory tracking](https://github.com/flair-sdk/examples/tree/main/health-factor-with-factory-tracking).
100+
* [Index Uniswap v2 swaps with USD price for all addresses](https://github.com/flair-sdk/examples/tree/main/uniswap-v2-events-from-all-contracts-with-usd-price).
101101

102102
### NFT
103103

104-
* [Index ERC721 and ERC1155 NFTs on any EVM chain with an RPC URL](https://github.com/flair-sdk/examples/tree/main/erc721-and-erc1155-nft-indexing)
104+
* [Index ERC721 and ERC1155 NFTs on any EVM chain with an RPC URL](https://github.com/flair-sdk/examples/tree/main/erc721-and-erc1155-nft-indexing).
105105

106106
## Need help?
107107

docs/tools/data/the-graph/data.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ The PolygonRoot subgraph works by listening for events emitted by one or more da
1414

1515
## Helpful resources
1616

17-
- [Video tutorial on creating an API Key](https://www.youtube.com/watch?v=UrfIpm-Vlgs)
18-
- [Managing your API Key & setting your indexer preferences](https://thegraph.com/docs/en/studio/managing-api-keys/)
19-
- [Querying from an application](https://thegraph.com/docs/en/developer/querying-from-your-app/)
20-
- [How to use the explorer and playground to query on-chain data](https://medium.com/@chidubem_/how-to-query-on-chain-data-with-the-graph-f8507488215)
21-
- [Explorer page](https://thegraph.com/explorer/subgraph?id=FDrqtqbp8LhG1hSnwtWB2hE6C97FWA54irrozjb2TtMH&view=Overview)
22-
- GraphQL Endpoint: https://gateway.thegraph.com/api/[api-key]/subgraphs/id/FDrqtqbp8LhG1hSnwtWB2hE6C97FWA54irrozjb2TtMH
23-
- [Code Repo](https://github.com/maticnetwork/subgraphs)
17+
- [Video tutorial on creating an API Key](https://www.youtube.com/watch?v=UrfIpm-Vlgs).
18+
- [Managing your API Key & setting your indexer preferences](https://thegraph.com/docs/en/studio/managing-api-keys/).
19+
- [Querying from an application](https://thegraph.com/docs/en/developer/querying-from-your-app/).
20+
- [How to use the explorer and playground to query on-chain data](https://medium.com/@chidubem_/how-to-query-on-chain-data-with-the-graph-f8507488215).
21+
- [Explorer page](https://thegraph.com/explorer/subgraph?id=FDrqtqbp8LhG1hSnwtWB2hE6C97FWA54irrozjb2TtMH&view=Overview).
22+
- GraphQL Endpoint: https://gateway.thegraph.com/api/[api-key]/subgraphs/id/FDrqtqbp8LhG1hSnwtWB2hE6C97FWA54irrozjb2TtMH.
23+
- [Code repo](https://github.com/maticnetwork/subgraphs).

docs/tools/data/the-graph/overview.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The Graph, a decentralized protocol for indexing and querying chain data, suppor
1414

1515
![img](../../../img/tools/graph/Graph-1.png)
1616

17-
1. Install Graph CLI on your machine (using either npm or yarn)
17+
1. Install Graph CLI on your machine (using either npm or yarn).
1818

1919
```bash
2020
$ npm install -g @graphprotocol/graph-cli
@@ -38,14 +38,14 @@ The Graph, a decentralized protocol for indexing and querying chain data, suppor
3838

3939
>Note: More details are here: https://thegraph.com/docs/define-a-subgraph#create-a-subgraph-project
4040

41-
1. Authenticate with the hosted service
41+
1. Authenticate with the hosted service.
4242

4343
```bash
4444
graph auth https://api.thegraph.com/deploy/ <your-access-token>
4545
```
4646
You can find the access token by going to your dashboard on the graph website.
4747

48-
1. cd to the directory you created and start defining the subgraph. Information on creating a subgraph is available in the Graph Docs here. https://thegraph.com/docs/define-a-subgraph
48+
1. `cd` to the directory you created and start defining the subgraph. Information on creating a subgraph is available in the Graph Docs here: https://thegraph.com/docs/define-a-subgraph.
4949

5050
1. When you are ready, deploy your subgraph. You can always test and redeploy as needed.
5151

@@ -57,6 +57,6 @@ The Graph, a decentralized protocol for indexing and querying chain data, suppor
5757

5858
Your subgraph will be deployed and can be accessed from your dashboard.
5959

60-
You can learn about querying the subgraph here: https://thegraph.com/docs/query-the-graph#using-the-graph-explorer
60+
You can learn about querying the subgraph here: https://thegraph.com/docs/query-the-graph#using-the-graph-explorer.
6161

6262
If you want to make your subgraph public, you can do so by accessing your subgraph from your dashboard and then click on edit button. You will see the slider at the bottom of edit page.

docs/tools/data/the-graph/queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## Sample queries
66

7-
Below are some sample queries you can use to gather information from the polygon root subgraph
7+
Below are some sample queries you can use to gather information from the polygon root subgraph.
88

99
You can build your own queries using a [GraphQL Explorer](https://graphiql-online.com/graphiql) and enter your endpoint to limit the data to exactly what you need.
1010

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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 **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

@@ -36,7 +36,7 @@ requests.get('https://gasstation-testnet.polygon.technology/v2').json()
3636

3737
### Mainnet
3838

39-
For getting gas price recommendation from this oracle (Polygon Mainnet), send **GET** request to the Polygon Gas Station V2 to get the gas fee estimates. Polygon Gas Station V2 Endpoint: [https://gasstation.polygon.technology/v2](https://gasstation.polygon.technology/v2)
39+
For getting a gas price recommendation from this oracle (Polygon Mainnet), send a **GET** request to the Polygon Gas Station V2 to get the gas fee estimates. Polygon Gas Station V2 Endpoint: [https://gasstation.polygon.technology/v2](https://gasstation.polygon.technology/v2).
4040

4141
#### cURL
4242

@@ -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/matic-js/api-architecture.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Write methods publish some data on the blockchain, so they consumes gas. Example
2020

2121
A write method returns (at least) two data items:
2222

23-
1. TransactionHash
24-
2. TransactionReceipt
23+
1. `TransactionHash`
24+
2. `TransactionReceipt`
2525

2626
For example:
2727

docs/tools/matic-js/fx-portal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ For more info about FxPortal, please read [the FxPortal overview documentation](
44

55
FxPortal bridge functionality is available in a [separate repository](https://github.com/0xPolygon/maticjs-fxportal) as a plugin for maticjs. The package provides different API's for interacting with bridge.
66

7-
Here is repository link - [https://github.com/0xPolygon/maticjs-fxportal](https://github.com/0xPolygon/maticjs-fxportal)
7+
Here is the repository link: [https://github.com/0xPolygon/maticjs-fxportal](https://github.com/0xPolygon/maticjs-fxportal).

0 commit comments

Comments
 (0)