You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Design for TokenScript for attestation tokens[/-][+]Design TokenScript for attestation tokens (TokenScript Config)[/+]on Nov 28, 2021
Some redundant field have been removed from the negotiator interfaces. Defaults are still set in Outlet but can be overridden. Currently, here is what is required in both client and outlet:
export interface OffChainTokenConfig {
title: string;
image: string;
tokenOrigin: string;
unEndPoint: string;
attestationOrigin: string;
tokenParser?: any; // Note: This will be changed to tokenSchema, which will be embedded in the XML
base64senderPublicKeys: {[devconId: string]: string};
base64attestorPubKey: string;
}
I have created a dynamic schema parser that works with asn1-schema library to parse & serialize asn1 based on a JSON schema definition. This can be used to parse an arbitrary token schema defined within XML.
@oleggrib - can you share your requirement for TokenScript