gocrypto

Cryption library based on Go-WebAssembly


Keywords
Go, WebAssembly, Crypto, Dimension, cryptocurrency, golang, slack
License
MIT
Install
npm install gocrypto@0.0.1

Documentation

slack-crypto

slack alerts for cryptocurrencies on coinmarketcap.com

gopher

installation

install using node package manager

https://www.npmjs.com/package/slack-crypto

$ npm install slack-crypto
$ cd bin && chmod u+x main

or clone repository

$ git clone https://github.com/waymobetta/slack-crypto.git
$ cd bin && chmod u+x main

requirements

  1. create new bot user here: https://{team}.slack.com/apps/manage/custom-integrations

  2. obtain api token (this will be needed during initial run then will not be needed again)

  3. obtain channel ID (can be found by right clicking a channel in slack app ("open link") and locating the character string found within the url (e.g. D9Q5XPAW0); this will be needed during initial run then will not be needed again

  • both the token and channel ID values within the config.json can be hardcoded and manually edited after running the program; configuration interface will reinitiate if values are empty.

usage

Example: single usage (Note: any cryptocurrency listed on coinmarketcap.com can be passed in as argument)

./main ethereum

notes

TODO:

  1. Add local env storage for slack token
  2. Add additional logic for bot

resources

Slack API: https://api.slack.com/

CoinMarketCap API: http://coinmarketcap.com/api/

license

MIT