@nori-zk/mina-token-bridge
Version:
A Mina zk-program contract allowing users to mint tokens on Nori Bridge.
10 lines (9 loc) • 786 B
TypeScript
import { EnforceMaxLength, SecretMaxLength } from '../../credentialAttestation.js';
export declare class CredentialAttestationWorker {
compile(): Promise<void>;
computeEcdsaSigPresentationRequest(zkAppPublicKeyBase58: string): Promise<string>;
computeCredential<FixedString extends string>(secret: EnforceMaxLength<FixedString, SecretMaxLength>, ethSecretSignature: string, ethWalletAddress: string, minaPublicKeyBase58: string): Promise<string>;
WALLET_computeEcdsaSigPresentation(presentationRequestJson: string, credentialJson: string, minaPrivateKeyBase58: string): Promise<string>;
private minaSetup;
MOCK_deployAndVerifyEcdsaSigPresentationVerifier(zkAppPrivateKeyBase58: string, senderPrivateKeyBase58: string, presentationJSON: string): Promise<void>;
}