krlosMata / zkRollup-bot-keybase

Bot to check zkRollup state and send messages to a keybase conversation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zkRollup-bot-keybase

Bot to check zkRollup state.

It sends notifications automatically to a keybase conversation if:

  • Cannot get state information
  • Batch forged has not increased correctly
  • New account is added

Config

Keybase

  • user: user name
  • pass: paper key
  • conversationId: conversation identifier

Rollup

  • url: rollup url
  • lastAccount: last account found

Example

{
  "keybase": {
    "user": "userNameX",
    "pass": "paperKey",
    "conversationId": "channelId"
  },
  "rollup": {
    "url": "rollupUrl",
    "lastAccount": 4
  }
}

Usage

Clone the repository

git clone https://github.com/krlosMata/zkRollup-bot-keybase.git
cd zkRollup-bot-keybase

Install dependencies

npm i

Configuration file

Create config.json file with all the required parameters

Check availables conversations

npm run list:chats

Run bot

npm run start

About

Bot to check zkRollup state and send messages to a keybase conversation

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%