Giter Club home page Giter Club logo

horcrux-disco-mon's Introduction

horcrux-disco-mon

Log scrapper for Strangelove Labs Horcrux MPC signer for Cosmos SDK chains that echoes log content to a Discord webhook

Tested on Ubuntu 22.04

Horcrux Disco Mon

Installing on each signer

This script and service assumes that the horcrux signer is running under a user called horcrux with a home directory /home/horcrux with the script located here: /home/horcrux/horcrux-disco-mon.sh

Make executable:

sudo chmod a+x horcrux-disco-mon.sh

Change the top portion of the script with your sentry IP:port information (order matters):

sentries=( "10.0.0.1:1234" "10.0.0.2:1234" )

Change the sentry labels (use the same order as above):

sentryLabels=( "sentry1" "sentry2" )

Label each signer:

whoami="signer1"

Give each signer an emoji:

whoamiEmoji="1️⃣"

Create a Discord Webhook in your channel and paste the webhook url into the script:

url="https://discord.com/api/webhooks/..."

Move service file to systemd directory:

sudo mv horcrux-disco-mon.service /etc/systemd/system/horcrux-disco-mon.service

Reload systemd and enable and start

sudo systemctl daemon-reload && sudo systemctl enable horcrux-disco-mon && sudo systemctl start horcrux-disco-mon

horcrux-disco-mon's People

Contributors

buzzeddesign avatar

Stargazers

Hugin Knudsen avatar Anton | SH avatar enrique r grullon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.