Notarize AT Protocol records on Ethereum using EAS (experiment)
at main 689 B view raw
1export interface NotaryConfig { 2 privateKey?: string; 3 rpcUrl?: string; 4 easContractAddress?: string; 5 schemaRegistryAddress?: string; 6 schemaUID?: string; 7} 8 9export interface NotarizationResult { 10 attestationUID: string; 11 recordURI: string; 12 cid: string; 13 contentHash: string; 14 pds: string; 15 lexicon: string; 16 transactionHash: string; 17 explorerURL: string; 18} 19 20export interface AttestationData { 21 uid: string; 22 recordURI: string; 23 cid: string; 24 contentHash: string; 25 pds: string; 26 lexicon: string; 27 timestamp: number; 28 attester: string; 29 revoked: boolean; 30 explorerURL: string; 31} 32 33export interface RecordInfo { 34 did: string; 35 collection: string; 36 rkey: string; 37}