Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nethermindeth/unistark

Using HardhatWarp for testing
https://github.com/nethermindeth/unistark

nubia

Last synced: 10 days ago
JSON representation

Using HardhatWarp for testing

Awesome Lists containing this project

README

        

# UniStark (a.k.a Uniswap V3 Warped)

This repository contains the core smart contracts for the [Uniswap V3
Protocol](https://github.com/Uniswap/v3-core) modified for transpilation by
[Warp](https://github.com/NethermindEth/warp) to [Cairo](https://starknet.io/docs/hello_cairo/index.html#hello-cairo) for
deployment on [StarkNet](https://starknet.io/).

A diff of this repo to Uniswap's original [here](https://htmlpreview.github.io/?https://github.com/NethermindEth/UniStark/blob/main/diff/v3-core.diff.html)

In order to transpile them simply [install Warp](https://github.com/NethermindEth/warp/#warp-installation-method-1) and then:

```
warp transpile contract/UniswapV3Pool.sol
```

To transpile all of the files:
```
warp transpile contract/**/*.sol
```

Sit back and enjoy the blinkenlights.

---

This is a demonstration of Warp's capabilities. Kindly note, this is a
[Nethermind](https://nethermind.io/) project carried out with no affiliation to Uniswap. All of the
development and testing implemented in this repo has taken place in accordance
with the Uniswap Business Source Licence 1.1. and other applicable licences.
Nethermind does not use Uniswap V3 Core for revenue-generating purposes.