Skip to content

coracle-social/nikabrik

Repository files navigation

Nikabrik version

Utilities for building DVMs on nostr. See count for an example of how to build a custom dvm handler.

import {DVM, countHandlers} from 'nikabrik'

const dvm = new DVM({
  sk: 'your dvm private key here',
  relays: ['wss://relay.damus.io'],
  handlers: {
    ...countHandlers,
  }
})

// When you're done
dvm.stop()