Smart Repair Plugin

Smart Repair plugin is for creating smart-repair.

Plugin options interface

interface PluginOptions = DAT2.Plugins.PluginBaseOptions & {
    contractId?: number;
    settings?: {
        networkType?: DAT2.NetworkType;
    };
};

Example

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>DAT</title>
  </head>

  <body>
    <noscript>You need to enable JavaScript to run this app.</noscript>
    <div id="root"></div>
  </body>
</html>