This course provides a short introduction to the technical blockchain aspects of Polymarket.
This course provides a short introduction to the technical blockchain aspects of Polymarket. We introduce the hybrid structure and its blockchain innovations which lead to the possibility of a platform like Polymarket.
Concepts introduced/reviewed:
- L2s / sidechains
- Conditional Token Framework (ERC1155 standard)
- Hybrid orderbook
- UMA optimistic oracle for event observation
The provided notebook gives an overview of how to query blockchain data using theGraph. A simple example is built on the Uniswap subgraph which shows:
- Query meta info on subgraphs / verify proper indexing
- query current information / understand graphQL types
- query historical indexed data
- query more complex historical data by querying previous subgraph block states.