@tokenfoundry/token-contracts
Advanced tools
Comparing version 0.3.4 to 0.3.5
module.exports = { | ||
// port: 6545, | ||
// testrpcOptions: '-p 6545 -u 0x54fd80d6ae7584d8e9a19fe1df43f04e5282cc43', | ||
// testCommand: 'mocha --timeout 5000', | ||
// norpc: true, | ||
// dir: './secretDirectory', | ||
copyPackages: ['openzeppelin-solidity'], | ||
@@ -8,0 +3,0 @@ skipFiles: [ |
{ | ||
"name": "@tokenfoundry/token-contracts", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Code for token contracts to be used by token foundry projects", | ||
@@ -10,5 +10,2 @@ "repository": "https://github.com/tokenfoundry/token-contracts.git", | ||
"coverage": "solidity-coverage", | ||
"coverage-ci": "solidity-coverage && cat coverage/lcov.info | coveralls", | ||
"generate-wallet": "node ./scripts/generateWallet.js", | ||
"get-private-key": "node ./scripts/getPrivateKey.js", | ||
"test": "truffle test" | ||
@@ -18,33 +15,3 @@ }, | ||
"openzeppelin-solidity": "1.9.0" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "^8.1.2", | ||
"babel-polyfill": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-stage-2": "^6.24.1", | ||
"babel-preset-stage-3": "^6.24.1", | ||
"babel-register": "^6.26.0", | ||
"bluebird": "^3.5.1", | ||
"coveralls": "^3.0.0", | ||
"eslint": "^4.14.0", | ||
"eslint-config-standard": "^11.0.0-beta.0", | ||
"eslint-plugin-babel": "^4.1.2", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-node": "^5.2.1", | ||
"eslint-plugin-promise": "^3.6.0", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"ethereumjs-util": "^5.1.3", | ||
"ethereumjs-wallet": "^0.6.0", | ||
"ethers": "^2.2.3", | ||
"inquirer": "^5.0.0", | ||
"solidity-coverage": "0.5.0", | ||
"truffle": "4.1.8", | ||
"truffle-hdwallet-provider": "0.0.3", | ||
"web3-provider-engine": "^13.5.0" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"env" | ||
] | ||
} | ||
} |
@@ -1,47 +0,3 @@ | ||
require('babel-register'); | ||
require('babel-polyfill'); | ||
const config = require('@tokenfoundry/truffle-config'); | ||
const getPrivateKey = require('./scripts/getPrivateKey'); | ||
const HDWalletProvider = require('./utils/truffle-provider'); | ||
const provider = (url) => { | ||
const address = process.env.ADDRESS; | ||
const password = process.env.PASSWORD; | ||
const privateKey = address && password ? getPrivateKey(address, password) : null; | ||
return privateKey ? () => new HDWalletProvider(privateKey, url) : null; | ||
}; | ||
module.exports = { | ||
networks: { | ||
local: { | ||
host: 'localhost', | ||
network_id: '*', | ||
port: 8545, | ||
provider: provider('http://127.0.0.1:8545') | ||
}, | ||
coverage: { | ||
host: 'localhost', | ||
network_id: '*', | ||
port: 8555, | ||
gas: 0xfffffffffff, | ||
gasPrice: 0x01 | ||
}, | ||
rinkeby: { | ||
gas: 6000000, | ||
network_id: 4, | ||
provider: provider('https://rinkeby.infura.io/' + process.env.INFURA), | ||
}, | ||
mainnet: { | ||
gas: 6000000, | ||
network_id: 1, | ||
provider: provider('https://mainnet.infura.io/' + process.env.INFURA), | ||
} | ||
}, | ||
solc: { | ||
optimizer: { | ||
enabled: true, | ||
runs: 200 | ||
} | ||
} | ||
}; | ||
module.exports = config; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
173615
0
58
1263
2
1