forked from Dapp-Learning-DAO/Dapp-Learning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 loc) · 1.09 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
{
"name": "24-upgradeable-contract",
"version": "1.0.0",
"description": "区块链信任基础的数据不可修改的特性, 让它传统应用程序有一个很大的不同的地方是一经发布于区块链上就无法修改. 一方面正式由于智能合约的不可修改的特性, 因为只要规则确定之后, 没人能够修改它, 大家才能够信任它. 但另一方面, 如果规则的实现有Bug, 可能会造成代币被盗, 或是调用消耗大量的gas. 这时就需要我们去修错误. 这里介绍一种可升级的合约设计模式.",
"main": "index.js",
"scripts": {
"test": "npx hardhat test"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@openzeppelin/contracts-upgradeable": "^4.6.0",
"dotenv": "^10.0.0",
"hardhat": "^2.6.1"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"@openzeppelin/hardhat-upgrades": "^1.19.0",
"chai": "^4.2.0",
"ethereum-waffle": "^3.0.0",
"ethers": "^5.0.0"
}
}