# Unipig

{% hint style="info" %}
&#x20;These docs are still a work in progress. Some parts may be unfinished.
{% endhint %}

## What is Unipig?

Unipig is a fork of [Uniswap](https://uniswap.io) where the only token pair you can trade between is UNI 🦄 and PIGI 🐷. Decide whether you are on #TeamUNI 🦄(boo!) or #TeamPIGI 🐷(yay!) and lead your team to success by making your team's token worth more than your rival team's token.&#x20;

If you haven't already, try Unipig out at <https://unipig.exchange>. Sell all of your rival team's token to decrease its value and increase the relative value of your team's token. The more valuable token at the end of Devcon will be crowned the winning team.

### Why should I care?

Unipig is the first smart contract deployed on **Optimistic Rollup**, a Layer 2 construction which can increase the scalability of **any** arbitrary smart contract without compromising Layer 1 security guarantees. Not only does Optimistic Rollup increase scalability of smart contracts, but it also improves the UX of dApps by guaranteeing **instant confirmations** on all transactions.

A normal ERC20-to-ERC20 Uniswap token trade on Ethereum costs \~88,000 gas. A Uniswap token trade on our (unoptimized) Optimistic Rollup demo costs \~6,000 gas. That means it's >14x cheaper to make Uniswap trades on Optimistic Rollup! And similar savings in gas fees can be achieved by any of your favorite smart contracts once they are deployed on Optimistic Rollup, be it MakerDAO, Compound, or CryptoKitties. &#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://unipig.plasma.group/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
