From 2767add93c1e1dc48c5424ee34c5284e7055dcfb Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sat, 6 May 2017 22:11:34 +0200 Subject: [PATCH] kredits-contracts --- package.json | 4 ++-- run.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0cdbd56..e71490c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "start": "./run.sh", - "ngrok": "ngrok http -region=ap -hostname=hubot-dev.kosmos.org localhost:8080" + "ngrok": "ngrok http -region=ap -hostname=hubot-dev.kosmos.org localhost:8888" }, "authors": [ "Sebastian Kippe ", @@ -30,7 +30,7 @@ "hubot-shipit": "^0.2.0", "hubot-tell": "^1.2.3", "hubot-yubikey-invalidation": "0.0.3", - "kredits-contracts": "67p/kredits-contracts", + "kredits-contracts": "^2.0.0", "node-fetch": "^1.6.3", "request": "2.30.0" }, diff --git a/run.sh b/run.sh index d91e04e..6d66283 100755 --- a/run.sh +++ b/run.sh @@ -2,6 +2,7 @@ # rm -rf node_modules/hubot-openassets # npm install +PORT=8888 \ HUBOT_IRC_SERVER="irc.freenode.net" \ HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \ HUBOT_IRC_NICK="hal7000" \ @@ -18,4 +19,5 @@ KREDITS_WEBHOOK_TOKEN="123" \ KREDITS_ROOM="#kosmos-dev" \ KREDITS_WALLET_PATH="wallet.json" \ KREDITS_WALLET_PASSWORD="foo" \ +KREDITS_CONTRACT_ADDRESS="0x1e77db134531f8e8f3d97428285d096b4b85e2c4" \ bin/hubot --name hal7000