Skip to content

Commit 9c8fe9c

Browse files
committed
truffle security added
1 parent 1039a37 commit 9c8fe9c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"sass-loader": "^10.0.2",
5151
"solhint": "^3.3.2",
5252
"truffle": "^5.1.59",
53+
"truffle-security": "^1.7.3",
5354
"vue-cli-plugin-bootstrap-vue": "~0.7.0",
5455
"vue-template-compiler": "^2.6.11"
5556
},

truffle-config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
// const mnemonic = fs.readFileSync(".secret").toString().trim();
2626

2727
module.exports = {
28+
29+
plugins: ["truffle-security"],
30+
2831
/**
2932
* Networks define how you connect to your ethereum client and let you set the
3033
* defaults web3 uses to send transactions. If you don't specify one truffle

0 commit comments

Comments
 (0)