Thanks to visit codestin.com
Credit goes to github.com

Skip to content

kp2pml30/genlayer-simulator

 
 

Repository files navigation

GenLayer Simulator

License: MIT Discord Twitter GitHub star chart

👀 About

This Simulator is an interactive sandbox designed for developers to explore the potential of the GenLayer Protocol. It replicates the GenLayer network's execution environment and consensus algorithm, but offers a controlled and local environment to test different ideas and behaviors.

Prerequisites

Before installing the GenLayer CLI, ensure you have the following prerequisites installed:

  • Docker: Required to run the GenLayer environment. Required version: Docker 26+
  • Node.js and npm: Needed for the GenLayer CLI tool. Required version: Node.js 18+

🛠️ Installation and usage

$ npm install -g genlayer
$ genlayer init

To run genlayer again just run:

$ genlayer up

After executing those commands a new tab will open in your browser with the GenLayer Simulator. Additional installation instructions can be found here

🚀 Key Features

  • 🖥️ Test Locally: Developers can test Intelligent Contracts in a local environment, replicating the GenLayer network without the need for deployment. This speeds up the development cycle and reduces the risk of errors in the live environment.

  • 🧪 Versatile Scenario Testing: The simulator allows developers to create and test contracts under various simulated network conditions. This includes stress testing under high transaction loads, simulating network delays, and testing different consensus outcomes.

  • 🔄 Changeable LLM Validators: Developers can modify the large language models (LLMs) used by validators within the simulator. This allows for testing of security, efficiency, and accuracy by running different LLMs to validate transactions.

📖 The Docs

Detailed information of how to use the simulator can be found at GenLayer Docs.

Contributing

As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation. Please read our CONTRIBUTING for guidelines on how to submit your contributions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.4%
  • Vue 25.6%
  • TypeScript 20.1%
  • JavaScript 0.7%
  • CSS 0.5%
  • Shell 0.4%
  • Other 0.3%