fix: deployment

This commit is contained in:
Richard Ramos 2019-06-03 17:30:08 -04:00
parent 4844c9a241
commit 0a924a4a63
4 changed files with 9 additions and 12 deletions

2
.gitignore vendored
View File

@ -41,3 +41,5 @@ package-lock.json
# other
.vs/
bin/
embarkArtifacts/

View File

@ -18,11 +18,11 @@ module.exports = {
contracts: {
"MiniMeTokenFactory": {},
"MiniMeToken": {
"args":["$MiniMeTokenFactory", "0x0", "0x0", "Status Test Token", 18, "STT", true],
"args":["$MiniMeTokenFactory", "0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", "Status Test Token", 18, "STT", true],
},
"StatusRoot": {
"instanceOf": "TestStatusNetwork",
"args": ["0x0", "$MiniMeToken"],
"args": ["0x0000000000000000000000000000000000000000", "$MiniMeToken"],
"onDeploy": [
"await MiniMeToken.methods.changeController(TestStatusNetwork.address).send()",
"await StatusRoot.methods.setOpen(true).send()",
@ -35,15 +35,7 @@ module.exports = {
},
development: {
deployment: {
accounts: [
{
privateKey: "b2ab40d549e67ba67f278781fec03b3a90515ad4d0c898a6326dd958de1e46fa",
balance: "5 ether" // You can set the balance of the account in the dev environment
// Balances are in Wei, but you can specify the unit with its name
}
]
}
},
testnet: {
contracts: {

View File

@ -14,5 +14,7 @@
"ipfs-api": "17.2.4",
"p-iteration": "1.1.7"
},
"plugins": {}
"plugins": {
"embarkjs-connector-web3": {}
}
}

View File

@ -24,6 +24,7 @@
"dependencies": {
"elliptic-curve": "^0.1.0",
"embark-graph": "^4.0.0",
"embarkjs-connector-web3": "^4.0.0",
"ethereumjs-util": "^5.1.5",
"react": "^16.3.2",
"react-blockies": "^1.4.0",