Welcome Zstake Service
GenLayer

GenLayer Simulator

Copy

GenLayer Simulator Install Guide

Installation of GenLayer Simulator is still possible only in a GUI environment where a display is installed.

스크린샷 2024-09-30 오후 4.37.09.png
스크린샷 2024-09-30 오후 4.37.09.png

  1. Install docker, npm, nvm







  1. Node,NPM version Check

  1. Install GenLayer CLI

  1. Execute the genlayer init Command

스크린샷 2024-09-30 오후 4.33.31.png
스크린샷 2024-09-30 오후 4.33.31.png


Select LLM Providers

When you run the genlayer init command, you'll receive a prompt to select which LLM providers you want to use. These LLM providers are used by validators to process and validate Intelligent Contracts. You can select one or multiple providers based on your needs and the API keys available to you. Here are the options available:

  • Ollama: Free and open-source option that runs locally but may perform slower than the others.

Check Simulator

스크린샷 2024-09-30 오후 4.35.36.png
스크린샷 2024-09-30 오후 4.35.36.png


5.Launching the Simulator with existing configuration



This command allows you to launch the simulator with a previously initialized environment and configuration. You can use the following options to customize the simulator launch:

  • -reset-validators: This option removes all current validators and creates new random ones, useful for testing different validator scenarios in development.
  • -numValidators <number>: Specify the number of validators to start, defaulting to 5.
  • -branch <branch>: Specify the branch from which to start the GenLayer Simulator, defaulting to "main".