Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom network & tokens list #7797

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7dac466
build: prepared a working branch
FanManutd Nov 27, 2024
f876d9b
add polygon amou chain id
zhadeMetalamp Dec 3, 2024
e994550
move skd-core to src & replace imports
zhadeMetalamp Dec 6, 2024
1b97b29
- refactor: set specific node version in nvmrc; use automatic end of …
alagunoff Dec 24, 2024
8670d6b
fix: remove setting node env on server start
alagunoff Dec 24, 2024
9f1bbad
chore: remove some dependencies
alagunoff Dec 25, 2024
97ae287
feat: add our tokens
alagunoff Dec 25, 2024
a34e5bc
- feat: set METALAMP as a default token to swap; populate list of tok…
alagunoff Dec 25, 2024
c184d37
feat: change default chain; change rpc url for polygon amoy
alagunoff Dec 25, 2024
76c2e55
feat: remove polygon amoy from displaying when connected
alagunoff Dec 26, 2024
7db9640
fix: change multicall2 contract's address for polygon amoy
alagunoff Dec 26, 2024
6fe7aca
fix: add correct link to block explorer for polygon amoy
alagunoff Dec 26, 2024
04464e1
chore: use abstract name for block explorer
alagunoff Dec 26, 2024
3edbd3b
fix: revert deleting eth from tokens
alagunoff Dec 26, 2024
b4ff705
refactor: remove production builds of sdk-core; use always a developm…
alagunoff Dec 26, 2024
f756fc0
feat: add arguments for Ether class to specify symbol and name for th…
alagunoff Dec 26, 2024
9eff17f
feat: add bases for trade for polygon amoy
alagunoff Dec 26, 2024
ae06393
refactor: merge two usdc tokens
alagunoff Dec 27, 2024
7687b9d
feat: add position manager contract address for polygon amoy
alagunoff Dec 27, 2024
501d3ac
feat: fork v2-sdk and v3-sdk; use data only for publishing in sdk-core
alagunoff Dec 27, 2024
fb70efd
feat: add folder to index
alagunoff Dec 27, 2024
edb5c7c
feat: add forked packages to git tracking
alagunoff Dec 27, 2024
65b823c
feat: add ignoring forked packages' folder byt linters; use ether or …
alagunoff Dec 27, 2024
6bac9c5
feat: change addresses to new ones
alagunoff Dec 28, 2024
0808d0e
feat: remove forked dependencies from local ones and use custom from npm
alagunoff Dec 28, 2024
56d5558
fix: change packages names in imports
alagunoff Dec 28, 2024
123e5e0
chore: update dependencies
alagunoff Dec 28, 2024
b51bcc1
feat: pass pool init code hash to computePoolAddress function
alagunoff Dec 28, 2024
4eef071
feat: use custom version of uniswap v2 sdk
alagunoff Dec 28, 2024
7beba99
- feat: add pool creation for polygon amoy
alagunoff Dec 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"jsx": true
}
},
"ignorePatterns": ["node_modules/**/*"],
"ignorePatterns": ["node_modules/**/*", "uniswap-packages-forks/**/*"],
"settings": {
"react": {
"version": "detect"
Expand All @@ -23,7 +23,12 @@
],
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"prettier/prettier": "error",
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/ban-ts-ignore": "off",
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/*
16.20.2
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/uniswap-packages-forks
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"semi": false,
"singleQuote": true,
"printWidth": 120
"printWidth": 120,
"endOfLine": "auto"
}
16 changes: 0 additions & 16 deletions .storybook/main.ts

This file was deleted.

4 changes: 0 additions & 4 deletions .storybook/manager.ts

This file was deleted.

91 changes: 0 additions & 91 deletions .storybook/preview.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions .storybook/theme.ts

This file was deleted.

43 changes: 28 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
# Uniswap Interface
# Fork Uniswap Interface v3

The current branch is a fork of the v3.3.6 tag.

## Development

Node.js v16 required (Checked on v16.20.2).

### Install Dependencies

```bash
yarn install
```

### Run

```bash
yarn start
```

After generating types go to `src/types/v3/index.ts` and add two lines:

```ts
export type { UniswapV3Factory } from './UniswapV3Factory'
export type { UniswapV3Pool } from './UniswapV3Pool'
```

## Uniswap Interface

[![Unit Tests](https://github.com/Uniswap/uniswap-interface/actions/workflows/unit-tests.yaml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/unit-tests.yaml)
[![Integration Tests](https://github.com/Uniswap/uniswap-interface/actions/workflows/integration-tests.yaml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/integration-tests.yaml)
Expand All @@ -22,20 +49,6 @@ To access the Uniswap Interface, use an IPFS gateway link from the
[latest release](https://github.com/Uniswap/uniswap-interface/releases/latest),
or visit [app.uniswap.org](https://app.uniswap.org).

## Development

### Install Dependencies

```bash
yarn install
```

### Run

```bash
yarn start
```

## Contributions

**Please open all pull requests against the `main` branch.**
Expand Down
8 changes: 0 additions & 8 deletions cypress.json

This file was deleted.

26 changes: 0 additions & 26 deletions cypress/integration/add-liquidity.test.ts

This file was deleted.

22 changes: 0 additions & 22 deletions cypress/integration/landing.test.ts

This file was deleted.

11 changes: 0 additions & 11 deletions cypress/integration/lists.test.ts

This file was deleted.

7 changes: 0 additions & 7 deletions cypress/integration/pool.test.ts

This file was deleted.

31 changes: 0 additions & 31 deletions cypress/integration/remove-liquidity.test.ts

This file was deleted.

11 changes: 0 additions & 11 deletions cypress/integration/send.test.ts

This file was deleted.

Loading