import { Head } from "$fresh/runtime.ts"; import { Handlers, PageProps } from "$fresh/server.ts"; import App from "~/islands/App.tsx"; import { readValidators, Validators } from "~/utils.ts"; interface Data { validators: Validators; } export const handler: Handlers = { async GET(_req, ctx) { const validators = await readValidators(); return ctx.render({ validators }); }, }; export default function Home({ data }: PageProps) { const { validators } = data; return ( <> One Shot

Make a one shot minting and lock contract

Lock

            {validators.lock.script}
          

Mint

            {validators.mint.script}
          
); }