Use this starter to learn GenLayer's full application path
GenLayer Project Boilerplate built successfully in our sandbox, but its npm audit reported 54 known vulnerabilities and the harness skipped tests. Use it to learn how a Python intelligent contract connects to deployment scripts and a web frontend. Skip it if you want a chain-neutral starter or evidence that the included betting example is ready to handle real stakes.
The README describes a football prediction game: users submit teams, a date and a predicted winner. The contract fetches BBC Sport results, asks a language model to extract the score and uses GenLayer's equivalence principle to validate the result. Correct predictions earn points.
What happened when we ran it
Our run installed 2,324 recorded dependencies in 64 seconds and built GenLayer Project Boilerplate in 22 seconds. We cloned e685f1f on October 8, 2026, in a sandbox configured with 3 CPUs, 8 GB RAM and image label lab-node:22.
| Recorded step | Result |
|---|---|
| Install | Succeeded in 64 seconds; 2,324 dependencies; 1,275 MB on disk |
| Build | Succeeded in 22 seconds |
| Tests | Skipped: no tests script or target |
| npm audit | 54 known vulnerabilities: 1 critical, 18 high, 33 moderate, 2 low |
| Checkout | 73 files; approximately 4,893 source lines; 0.6 MB |
| Repository signals | 4 CI workflow files; tests directory; monorepo workspaces; no Dockerfile detected |
More consequentially, a successful build and a skipped test step leave different evidence from a passing contract suite. The tests directory exists, and the README gives separate ways to exercise it. Our npm record cannot substitute for those results. The image label alone doesn't identify the actual runtime version.
Python and Studio sit beyond the frontend setup
The README requires Python 3.12 or newer, the global GenLayer CLI and GenLayer Studio for deployment and integration tests. The frontend needs a deployed contract address in NEXT_PUBLIC_CONTRACT_ADDRESS. A developer therefore owns both the Python contract environment and the JavaScript application environment, plus access to a local or hosted Studio.
That address is a handoff worth checking explicitly. A compiled frontend can still point at the wrong contract or network. Follow the documented contract deployment before treating a rendered page as a working application.
Mocked direct tests and consensus checks answer different questions
The README documents direct tests that run contracts in memory with mocked web and language-model responses. Integration tests deploy to GenLayer Studio and exercise consensus. Direct tests let you specify what an external page or model response should contain. Studio checks ask what happens when the platform participates.
Keep both layers when replacing the football logic. A mocked score extraction can demonstrate how your code handles a chosen response, but it cannot establish how a changed sports page or an ambiguous result behaves with real providers. The README's workflow puts contract linting before these stages, including checks for forbidden imports and nondeterministic operations outside the expected blocks.
A reported deployment success can still leave no usable address
In issue #104, a Windows user reports an accepted Studionet deployment followed by a frontend Contract not found error. The deployment script printed an undefined address; the reporter found an address under receipt.data.contract_address. The issue is open.
Pull request #110 proposes an address lookup that falls back to receipt.data.contract_address when the decoded field lacks an address. It is open and unmerged. If you hit this symptom, compare the receipt fields, selected network and frontend address before assuming the frontend build failed. The proposal gives a concrete place to investigate, not a shipped resolution.
The audit result belongs on the adoption checklist
The 54 known vulnerabilities in our npm record include 1 critical and 18 high-severity findings. Review the dependency paths and applicability before deploying a derivative application. The supplied summary doesn't identify packages or vulnerable execution paths, so it supports neither a specific exploit claim nor an assurance that the findings affect development tooling only.
The README calls the frontend production-ready. That description does not establish the security of the application or its contract economics. Ownership begins with dependencies and external data handling.
Choose Scaffold-ETH for Ethereum, Studio for contract exploration
Scaffold-ETH 2 is a toolkit for building decentralized applications on Ethereum. GenLayer Studio is an interactive sandbox that replicates GenLayer's execution environment and consensus algorithm.
| Starting point | Choose it when |
|---|---|
| This boilerplate | You want the GenLayer contract-to-frontend example |
| Scaffold-ETH 2 | Your target is an Ethereum application |
| GenLayer Studio | You want to explore GenLayer contract behavior interactively first |
Studio also supports this boilerplate's documented integration path, so it can be a dependency as well as an alternative starting point. No measured setup or performance comparison accompanies these scope recommendations.
Questions people ask
Direct tests can run without GenLayer Studio; integration tests require it, according to the README.
Does the skipped npm step mean there are no tests?
No. The README documents Python direct tests and Studio integration tests. Our harness found no npm test target.
What connects the frontend to the deployed contract?
The README instructs you to set NEXT_PUBLIC_CONTRACT_ADDRESS to the deployed contract address.
Is the starter MIT licensed?
Yes. The README identifies the project as MIT licensed.
What we have not tested yet
Community research was not collected. We haven't run the Python or Studio paths, connected a wallet, resolved a real match, assessed consensus behavior or investigated individual advisories. The Studionet report wasn't reproduced. Raw toolchain logs are needed to establish actual runtime versions.
GitHub records a September 9, 2026 push and an open deployment report with an unmerged response proposal. Its latest release tag is v0.2.0 from December 9, 2025. The older tag alone doesn't establish abandonment. For adoption, the next useful evidence is a deployed contract your frontend can query and contract checks that pass on the revision you choose.

