Welcome to GenLayer docs
GenLayer is a decentralized blockchain platform designed to execute AI-powered smart contracts called Intelligent Contracts that uses AI models to search the web and process natural language instructions.
What makes GenLayer different
GenLayer stands out with a unique set of features that empower developers to create innovative and intelligent decentralized applications:
๐ Process Natural Language
GenLayer introduces Intelligent Contracts that can interpret and execute instructions written in natural language. This capability allows for more complex, context-aware operations that go beyond traditional smart contracts.
๐ Access Web Data Directly
Unlike conventional blockchain platforms, GenLayer enables Intelligent Contracts to directly access and utilize real-time data from the web. This opens up new possibilities for creating dynamic applications that respond to external events and data sources.
๐ง Optimistic Democracy Consensus
GenLayer employs a cutting-edge consensus mechanism known as Optimistic Democracy. This approach enhances security and efficiency by allowing transactions to be validated and finalized quickly, with the flexibility to appeal and re-evaluate in case of disputes.
๐ Developer-Friendly Language
Building on GenLayer is made easier with a developer-friendly language that simplifies the creation of Intelligent Contracts. Whether you're new to blockchain development or an experienced coder, GenLayer's tools are designed to streamline your workflow and accelerate innovation.
Find your way in the docs
Partners
We feature various collaborators who help drive our innovation.
Contributing
We welcome contributions of all types. To get started, read our Contributing Guide (opens in a new tab) and file an issue for either a bug or enhancement.
Questions?
Join the GenLayer community in our Discord (opens in a new tab) and Telegram (opens in a new tab) to ask for help, as well as share your feedback or showcase what you have built with GenLayer!
Join us
We are hiring! If you are passionate about blockchain technology and want to be part of an innovative team, check out our career opportunities (opens in a new tab) and join us in shaping the future of decentralized applications.
GenLayer FAQ
The GenLayer FAQ is a collection of useful questions and answers about the project. If you have a question that isn't answered here, please let us know on our Discord (opens in a new tab) .
How do I set up the GenLayer environment?
To quickly set up the GenLayer environment, run the commands below:
$ npm install -g genlayer
$ genlayer init
For more detailed setup instructions, please refer to the Install GenLayer page (opens in a new tab)
Where can I find the GenLayer Simulator?
For you to use the simulator, you need to install GenLayer via the CLI (opens in a new tab). Once the setup is complete, you can access the GenLayer Simulator at http://localhost:8080/ (opens in a new tab).
How do I deploy an Intelligent Contract?
- Use the CLI to start the GenLayer Simulator.
- Write your contract in Python using the Intelligent Contract syntax (opens in a new tab).
- Folllow the guide here (opens in a new tab) to interact with the simulator and deploy your Intelligent Contract.
What is the GenLayer CLI used for?
The GenLayer CLI is used for setting up the GenLayer Simulator and, in the future, will support mainnet and testnet environments.
Navigating These Docs
The sidebar on the left organizes the documentation, starting with foundational concepts and progressing to more advanced material. If you're new to GenLayer, we suggest beginning at the top and working your way through the sections. However, feel free to explore the content in any sequence that works best for you.
When you're ready to dive into development, take a look at the Quick Start guide.