• Parameters

    Returns Promise<MintCourseModuleTokenTx>

    successful TxHash of MintCourseModuleTokenTx that will mint a token to the CourseReference validator

    Example

    const MINT_COURSE_MODULE_TOKEN_TX = await prepareMintCourseModuleTokenTx(
    wallet,
    andamioConfig,
    props.courseModule,
    formData.assignmentContent
    );
    const res = await MINT_COURSE_MODULE_TOKEN_TX.runTx();

    When a Module Token is minted, an on-chain reference to a Course Module is created. The on-chain reference includes a blake2b hash of the CourseModule object. The Assignment is optional, but should be included. We are experimenting what to include in the assignmentContent string.

Generated using TypeDoc