mirror of
https://github.com/dergigi/boris.git
synced 2025-12-18 15:14:20 +01:00
- Add project structure with TypeScript, React, and Vite - Implement nostr authentication using browser extension (NIP-07) - Add NIP-51 compliant bookmark fetching and display - Create minimal UI with login and bookmark components - Integrate applesauce-core and applesauce-react libraries - Add responsive styling with dark/light mode support - Include comprehensive README with setup instructions This is a minimal MVP for a nostr bookmark client that allows users to view their bookmarks according to NIP-51 specification.
16 lines
671 B
TypeScript
16 lines
671 B
TypeScript
import { type CurveFn } from './abstract/bls.ts';
|
|
import { type IField } from './abstract/modular.ts';
|
|
export declare const bls12_381_Fr: IField<bigint>;
|
|
/**
|
|
* bls12-381 pairing-friendly curve.
|
|
* @example
|
|
* import { bls12_381 as bls } from '@noble/curves/bls12-381';
|
|
* // G1 keys, G2 signatures
|
|
* const privateKey = '67d53f170b908cabb9eb326c3c337762d59289a8fec79f7bc9254b584b73265c';
|
|
* const message = '64726e3da8';
|
|
* const publicKey = bls.getPublicKey(privateKey);
|
|
* const signature = bls.sign(message, privateKey);
|
|
* const isValid = bls.verify(signature, message, publicKey);
|
|
*/
|
|
export declare const bls12_381: CurveFn;
|
|
//# sourceMappingURL=bls12-381.d.ts.map
|