This persists the state of the ganache db and uses a fixed mnemonic code to create accounts. It now acts more like a local presistent database and no need to send funds to the accounts after restart.
33 lines
981 B
JSON
33 lines
981 B
JSON
{
|
|
"name": "kredits-contracts",
|
|
"version": "1.0.0",
|
|
"description": "Ethereum contracts and npm wrapper for Kredits",
|
|
"main": "index.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"scripts": {
|
|
"build-json": "truffle compile && node ./scripts/build-json.js",
|
|
"bootstrap": "truffle migrate --reset && truffle exec scripts/seeds.js && npm run build-json",
|
|
"ganache": "ganache-cli -p 7545 -i 100 --db=./.ganache-db -m kredits",
|
|
"dev": "truffle migrate && npm run build-json",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/67P/truffle-kredits.git"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/67P/truffle-kredits/issues"
|
|
},
|
|
"homepage": "https://github.com/67P/truffle-kredits#readme",
|
|
"devDependencies": {
|
|
"ganache-cli": "^6.0.3",
|
|
"ipfs-api": "^19.0.0",
|
|
"truffle": "^4.1.3",
|
|
"zeppelin-solidity": "^1.7.0"
|
|
}
|
|
}
|