ariedro / sensumbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SensumBot

Telegram Bot for fetching the last messages from the famous app Sensum to a chat or a group

Install

  1. Set up the bot token, eth contract address and other variables in config.json

  2. Set up the $GOPATH and such

  3. Build the executable

    $ go build src/*

Run

Simply run the executable

$ ./bot

ABI generated code

The contract.go file is autogenerated by taking the ETH smart contract ABI.

In order to generate it, you will have to have abigen installed, and run the following:

$ abigen --abi=./Sensations.abi --pkg=main --type=contract --out=contract.go

About

License:GNU General Public License v3.0


Languages

Language:Go 100.0%