File tree 4 files changed +347
-27
lines changed
4 files changed +347
-27
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,14 @@ Run: yarn create eth-app my-eth-app --template uniswap-v2
19
19
More: https://github.com/paulrberg/create-eth-app
20
20
21
21
## How to start
22
-
23
22
- yarn install
24
23
- update the configuration in ./packages/react-app/src/config.js
25
24
- yarn run react-app: start
26
25
### UI
27
26
<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``
Original file line number Diff line number Diff line change 31
31
"@uniswap/sdk" : " ^3.0.2" ,
32
32
"@uniswap/v2-core" : " ^1.0.1" ,
33
33
"@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 " ,
36
36
"graphql" : " ^16.3.0" ,
37
37
"ipfs-deploy" : " ^11.2.0" ,
38
38
"react" : " 17.0.2" ,
39
39
"react-dom" : " 17.0.2" ,
40
40
"react-scripts" : " 4.0.3" ,
41
41
"styled-components" : " ^5.3.3" ,
42
- "web3" : " ^1.7.5 "
42
+ "web3" : " ^1.10.0 "
43
43
},
44
44
"eslintConfig" : {
45
45
"extends" : [
Original file line number Diff line number Diff line change 1
1
import "./index.css" ;
2
2
3
- import { DAppProvider } from "@usedapp/core" ;
4
- import { DAPP_CONFIG } from "./config" ;
3
+ import { DAppProvider } from "@usedapp/core" ;
4
+ import { DAPP_CONFIG } from "./config" ;
5
5
import React from "react" ;
6
6
import ReactDOM from "react-dom" ;
7
7
@@ -18,9 +18,12 @@ ReactDOM.render(
18
18
rel = "stylesheet"
19
19
href = "https://fonts.googleapis.com/icon?family=Material+Icons"
20
20
/>
21
+ < div >
22
+ < p > NFT POWERED AMM </ p >
23
+ </ div >
21
24
< ErrorBoundary >
22
25
< DAppProvider config = { DAPP_CONFIG } >
23
- < App />
26
+ < App />
24
27
</ DAppProvider >
25
28
</ ErrorBoundary >
26
29
</ React . StrictMode > ,
You can’t perform that action at this time.
0 commit comments