kredits-contracts

This commit is contained in:
Basti 2017-05-06 22:11:34 +02:00
parent 45500083d2
commit 2767add93c
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"start": "./run.sh", "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": [ "authors": [
"Sebastian Kippe <sebastian@kip.pe>", "Sebastian Kippe <sebastian@kip.pe>",
@ -30,7 +30,7 @@
"hubot-shipit": "^0.2.0", "hubot-shipit": "^0.2.0",
"hubot-tell": "^1.2.3", "hubot-tell": "^1.2.3",
"hubot-yubikey-invalidation": "0.0.3", "hubot-yubikey-invalidation": "0.0.3",
"kredits-contracts": "67p/kredits-contracts", "kredits-contracts": "^2.0.0",
"node-fetch": "^1.6.3", "node-fetch": "^1.6.3",
"request": "2.30.0" "request": "2.30.0"
}, },

2
run.sh
View File

@ -2,6 +2,7 @@
# rm -rf node_modules/hubot-openassets # rm -rf node_modules/hubot-openassets
# npm install # npm install
PORT=8888 \
HUBOT_IRC_SERVER="irc.freenode.net" \ HUBOT_IRC_SERVER="irc.freenode.net" \
HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \ HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \
HUBOT_IRC_NICK="hal7000" \ HUBOT_IRC_NICK="hal7000" \
@ -18,4 +19,5 @@ KREDITS_WEBHOOK_TOKEN="123" \
KREDITS_ROOM="#kosmos-dev" \ KREDITS_ROOM="#kosmos-dev" \
KREDITS_WALLET_PATH="wallet.json" \ KREDITS_WALLET_PATH="wallet.json" \
KREDITS_WALLET_PASSWORD="foo" \ KREDITS_WALLET_PASSWORD="foo" \
KREDITS_CONTRACT_ADDRESS="0x1e77db134531f8e8f3d97428285d096b4b85e2c4" \
bin/hubot --name hal7000 bin/hubot --name hal7000