forked from Dapp-Learning-DAO/Dapp-Learning
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
21 lines (21 loc) · 979 Bytes
/
package.json
File metadata and controls
21 lines (21 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "28-optimism-layer2",
"version": "1.0.0",
"description": "Optimistic Rollups(OR)是一种第二层解决方案,也就是说不直接在以太坊基础层中构建,而是基于以太坊进行构建。好处在于可以规模化运行智能合约,同时还能受到共享以太坊的安全性。其构造类似于Plasma,虽然无法达到Plasma几近无限的扩容能力,OR选择使用与EVM兼容的OVM(Optimistic虚拟机),使其能够像以太坊一样运作。",
"main": "index.js",
"scripts": {
"build": "npx hardhat compile",
"deploy-erc20": "npx hardhat run scripts/deploy.js",
"deploy-eth": "npx hardhat run scripts/deploy-eth.js",
"withdraw-eth": "npx hardhat run scripts/withdraw-eth.js"
},
"keywords": [],
"author": "",
"license": "MIT",
"dependencies": {
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
"@openzeppelin/contracts": "^4.8.2",
"dotenv": "^16.0.3",
"hardhat": "^2.13.0"
}
}