Skip to content

Commit bff2543

Browse files
author
Aqua Marine
committed
upgrade dep
1 parent 40da957 commit bff2543

File tree

4 files changed

+347
-27
lines changed

4 files changed

+347
-27
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ Run: yarn create eth-app my-eth-app --template uniswap-v2
1919
More: https://github.com/paulrberg/create-eth-app
2020

2121
## How to start
22-
2322
- yarn install
2423
- update the configuration in ./packages/react-app/src/config.js
2524
- yarn run react-app:start
2625
### UI
2726
<img width="509" alt="Screenshot 2023-04-12 at 9 18 17 PM" src="https://user-images.githubusercontent.com/86425604/231486626-fa0551ab-b53f-42e7-a6cc-e958503750e2.png">
27+
28+
29+
# 2023 upgrade
30+
- "@usedapp/core": "^1.1.5", -> `1.2.11`
31+
- "ethers": "^5.7.0", -> `5.7.2`
32+
- "web3": "^1.7.5" -> `1.10.0``

packages/react-app/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
"@uniswap/sdk": "^3.0.2",
3232
"@uniswap/v2-core": "^1.0.1",
3333
"@uniswap/v2-periphery": "^1.1.0-beta.0",
34-
"@usedapp/core": "^1.1.5",
35-
"ethers": "^5.7.0",
34+
"@usedapp/core": "^1.2.11",
35+
"ethers": "^5.7.2",
3636
"graphql": "^16.3.0",
3737
"ipfs-deploy": "^11.2.0",
3838
"react": "17.0.2",
3939
"react-dom": "17.0.2",
4040
"react-scripts": "4.0.3",
4141
"styled-components": "^5.3.3",
42-
"web3": "^1.7.5"
42+
"web3": "^1.10.0"
4343
},
4444
"eslintConfig": {
4545
"extends": [

packages/react-app/src/index.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import "./index.css";
22

3-
import {DAppProvider} from "@usedapp/core";
4-
import {DAPP_CONFIG} from "./config";
3+
import { DAppProvider } from "@usedapp/core";
4+
import { DAPP_CONFIG } from "./config";
55
import React from "react";
66
import ReactDOM from "react-dom";
77

@@ -18,9 +18,12 @@ ReactDOM.render(
1818
rel="stylesheet"
1919
href="https://fonts.googleapis.com/icon?family=Material+Icons"
2020
/>
21+
<div>
22+
<p>NFT POWERED AMM </p>
23+
</div>
2124
<ErrorBoundary>
2225
<DAppProvider config={DAPP_CONFIG}>
23-
<App/>
26+
<App />
2427
</DAppProvider>
2528
</ErrorBoundary>
2629
</React.StrictMode>,

0 commit comments

Comments
 (0)