Welcome Zstake Service
GenLayer
GenLayer Simulator
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 install docker, npm, nvm sudo apt update && sudo apt get install openssl curl fssl https //get docker com o get docker sh && sh get docker sh sudo usermod ag docker $user && newgrp docker sudo systemctl enable docker service && sudo systemctl enable containerd service curl o https //raw\ githubusercontent com/nvm sh/nvm/v0 40 0/install sh | bash echo 'export nvm dir="$home/ nvm"' >> $home/ bash profile echo '\[ s "$nvm dir/nvm sh" ] && \\ "$nvm dir/nvm sh" # this loads nvm' >> $home/ bash profile echo '\[ s "$nvm dir/bash completion" ] && \\ "$nvm dir/bash completion" # this loads nvm bash completion' >> $home/ bash profile source $home/ bash profile nvm install lts node,npm version check node v npm v install genlayer cli npm install g genlayer execute the genlayer init command genlayer init 스크린샷 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 openai fastest and most reliable option for running validators however, it requires an openai api key(opens in a new tab) https //platform openai com/api keys as it is a paid service ollama free and open source option that runs locally but may perform slower than the others heurist a decentralized inference provider for open source ai models it requires an api key, get free api credits at dev api form heurist ai(opens in a new tab) https //dev api form heurist ai/ with referral code "genlayer" check simulator 스크린샷 2024 09 30 오후 4 35 36 png 5 launching the simulator with existing configuration genlayer up 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"