-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 1.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"private": true,
"scripts": {
"dev": "NODE_OPTIONS='--inspect' next dev",
"build": "next build",
"start": "next start",
"latest:block": "curl -sb -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_getBlockByNumber\",\"params\":[\"latest\", false],\"id\":1}' https://mainnet.infura.io/v3/b8f090fd80d34184b6c84039ce60fe57 | tac | jq -ra '.result.number' | (node <<< \"console.log(parseInt($(cat $1), 16))\") > .latest-block-hash",
"ganache": "yarn latest:block && ganache-cli --fork https://mainnet.infura.io/v3/b8f090fd80d34184b6c84039ce60fe57@$(cat .latest-block-hash) --mnemonic 'merry notice voice when split denial divorce nice guitar cross call dash pony ranch photo'",
"ganache:debug": "start:blockchain --debug --verbose"
},
"dependencies": {
"@chakra-ui/icons": "^1.0.0",
"@chakra-ui/react": "^1.4.2",
"@emotion/react": "^11.0.0",
"@emotion/styled": "^11.0.0",
"@svgr/webpack": "^5.5.0",
"axios": "^0.21.1",
"coingecko-api": "^1.0.10",
"cors": "^2.8.5",
"currency.js": "^2.0.4",
"dotenv": "^10.0.0",
"ethers": "^5.4.3",
"framer-motion": "^4.0.3",
"ganache-core": "^2.13.2",
"next": "latest",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"license": "MIT"
}