summaryrefslogtreecommitdiffstats
path: root/gold/mooncoin
diff options
context:
space:
mode:
authorEUcancER <root@euer.krebsco.de>2011-09-05 01:40:45 +0200
committerEUcancER <root@euer.krebsco.de>2011-09-05 01:40:45 +0200
commit2b4fa0c5c5712096fb16df68f44af3a2954905a4 (patch)
treea579622c3323504899b604ddc695a6ac7999462f /gold/mooncoin
parent57c5c973a40bf718f99c6e0fcd65b416514e2257 (diff)
changed ticker for solidcoin
now using mooncoin with appropriate gold module changing modules in scoreboard
Diffstat (limited to 'gold/mooncoin')
-rwxr-xr-xgold/mooncoin/ticker2
-rwxr-xr-xgold/mooncoin/ticker_text.sh4
2 files changed, 6 insertions, 0 deletions
diff --git a/gold/mooncoin/ticker b/gold/mooncoin/ticker
new file mode 100755
index 00000000..1be3ed7f
--- /dev/null
+++ b/gold/mooncoin/ticker
@@ -0,0 +1,2 @@
+#! /bin/sh
+exec curl -ksS https://moonco.in/exchange/api/ticker/solidcoin
diff --git a/gold/mooncoin/ticker_text.sh b/gold/mooncoin/ticker_text.sh
new file mode 100755
index 00000000..fbaff55b
--- /dev/null
+++ b/gold/mooncoin/ticker_text.sh
@@ -0,0 +1,4 @@
+#! /bin/sh
+set -euf
+cd $(dirname `readlink -f $0`)
+./ticker | ../json/render/ticker