diff --git a/.gitignore b/.gitignore index 4a96626..1e05e31 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,5 @@ package-lock.json # other .vs/ bin/ + +embarkArtifacts/ \ No newline at end of file diff --git a/config/contracts.js b/config/contracts.js index 18dde6e..94d9c4d 100644 --- a/config/contracts.js +++ b/config/contracts.js @@ -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: { diff --git a/embark.json b/embark.json index a86fd78..24be4a0 100644 --- a/embark.json +++ b/embark.json @@ -14,5 +14,7 @@ "ipfs-api": "17.2.4", "p-iteration": "1.1.7" }, - "plugins": {} + "plugins": { + "embarkjs-connector-web3": {} + } } diff --git a/package.json b/package.json index f395264..b5f8d28 100644 --- a/package.json +++ b/package.json @@ -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",