UNPKG

based-auth

Version:

A Next.js/Node.js authentication and wallet API kit for Ethereum and Solana, with utilities for serialization and contract interaction, designed for serverless and API route usage.

11 lines (10 loc) 260 B
import { Model } from 'mongoose'; export interface IVanityAddr extends Document { id: string; address: string; secret: string; used: boolean; createdAt: Date; updatedAt: Date; } export declare const VanityAddrModel: Model<IVanityAddr>;