mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
10 lines
246 B
TypeScript
10 lines
246 B
TypeScript
import { NSecSigner } from '@nostrify/nostrify';
|
|
|
|
import type { DittoConf } from '@ditto/conf';
|
|
|
|
/** Sign events as the Ditto server. */
|
|
export class AdminSigner extends NSecSigner {
|
|
constructor(conf: DittoConf) {
|
|
super(conf.seckey);
|
|
}
|
|
}
|