ditto/src/signers/AdminSigner.ts
2024-04-19 16:39:35 -05:00

9 lines
220 B
TypeScript

import { NSecSigner } from '@nostrify/nostrify';
import { Conf } from '@/config.ts';
/** Sign events as the Ditto server. */
export class AdminSigner extends NSecSigner {
constructor() {
super(Conf.seckey);
}
}