genlayer-project-boilerplate
Explore gl nondet web render modes text html and screenshot in GenLayer. Learn how to fetch web content as plain text raw HTML or a visual image for your contracts.
How to Handle Integer Types in GenLayer Contracts: A Complete Guide to u256 and i256Master integer types in GenLayer contracts. Learn to use u256 and i256 for state storage and ensure VM compliance with expert tips and guidance.
GenLayer Intelligent Contract Structure: A Complete Technical GuideExplore the technical structure of a GenLayer intelligent contract. Learn how to define state with TreeMap DynArray and implement public methods for your decentralized applications.
How GenLayer Maintains Consensus with Non-Deterministic CallsDiscover how GenLayer maintains consensus on non-deterministic calls. Learn about the Equivalence Principle and its role in ensuring byte-wise equality for secure state changes.
What Is the GenLayer Project Boilerplate? A Complete Starter Kit for AI-Native Blockchain AppsExplore the GenLayer Project Boilerplate, a starter kit for AI-native blockchain apps. Build intelligent contracts in Python with automated testing and a Next.js frontend.
How to Perform Integration Testing with gltest in GenLayerMaster integration testing in GenLayer with gltest. Deploy contracts locally, assert end-to-end behavior, and ensure seamless transaction and API interactions for robust smart contract development.
Common Linting Rules in GenLayer Contracts: Enforcing Determinism with genvm-lintDiscover common GenLayer contract linting rules enforced by genvm-lint. Ensure determinism, security, and compatibility with over 20 essential checks.
What is genvm-lint and How to Use It for GenLayer Smart ContractsDiscover genvm-lint, a fast static analysis tool for GenLayer smart contracts. Learn how to use it to catch deployment-blocking errors quickly and efficiently.
How to Test Contract Reverts in GenLayer Direct ModeEasily test contract reverts in GenLayer direct mode using pytest expect revert. Assert smart contract calls raise specific errors without live deployment.
How to Mock LLM Responses in GenLayer Direct Tests: A Complete GuideEasily mock LLM responses in GenLayer direct tests using the VM fixture and its mock_llm method. Intercept prompt calls and return deterministic stub data for reliable testing.
How to Mock Web Requests in GenLayer Direct TestsMock web requests in GenLayer direct tests using direct_vm.mock_web. Intercept HTTP calls and return controlled responses for reliable testing.
Benefits of Direct Mode Testing in GenLayer: A Complete Developer GuideDiscover the benefits of direct mode testing in GenLayer. Execute intelligent contracts in-memory for millisecond feedback, full API coverage, and deterministic validation.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →