Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 3.12 KB

README.md

File metadata and controls

66 lines (46 loc) · 3.12 KB

BoostZapper

Boost Zapper is a service that monitors Nostr events, and can be configured to automatically zap responses and send reply messages based on characteristics of the original reply.

This project was prepared to support the #InkblotArt project by Rex Damascus. Programming by Vicarious Drama


Supported NIPS

NIP Description
NIP-01 Basic Protocol Flow
NIP-04 Encrypted Direct Messages
NIP-10 Conventions for clients' use of e and p tags in text events
NIP-19 Bech-32 Encoded Entities
NIP-21 URI Scheme
NIP-25 Reactions
NIP-42 Client Authentication
NIP-57 Lightning Zaps
NIP-65 Relay List Metadata

Supported Kinds

Kind Description
0 Metadata
1 Short Text Note
4 Encrypted Direct Messages
7 Reaction
9734 Zap Request
10002 Relay List Metadata
22242 Client Authentication

Boost Zapper Setup

The primary bot logic that looks for events. Start here if you want to set up the bot as an operator with an LND server.

For Users that want to configure the Zapper Bot for their own events and rules, this document provides the full list of commands. These commands are sent to Nostr users that direct message the bot for HELP.


Helper Scripts

These scripts may be useful for those seeking smaller scripts to learn from.

The original Boost Zapper script proof of concept that runs a check for events and zaps based on conditions. Configuration differs slightly from that used for the Bot. This is no longer supported and may not function any longer but is provided for posterity as a smaller subset of the current bot logic

Simple script to calculate a vanity npub using the python-nostr library. While functional, a more performant program would leverage multiple threads and likely be written in c, golang or rust

Simple script to dump some recent sample events by kind. This is very trivial mainly for diagnosis.

Simple script that reads a json file, signs with the bot in server config, and sends to relays.

A simple script that builds a calendar encompassing multiple events based on inputs