import {
  getPublicKey,
  generatePrivateKey,
  nip04,
  getEventHash,
  getSignature,
  verifySignature,
  nip19,
  relayInit
} from 'nostr-tools';

window.NostrTools = {
  getPublicKey,
  generatePrivateKey,
  nip04,
  getEventHash,
  getSignature,
  signEvent: getSignature,
  verifySignature,
  nip19,
  relayInit
}; 