genlayer-cli

Deploy, interact with, and debug GenLayer intelligent contracts via CLI.

10|6|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/genlayerlabs/skills --skill genlayer-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: genlayer-cli
Source: https://github.com/genlayerlabs/skills/tree/main/plugins/genlayer-dev/skills/genlayer-cli
Command: npx skills add https://github.com/genlayerlabs/skills --skill genlayer-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the complex tasks of deploying, interacting with, and debugging intelligent contracts on the GenLayer network, as well as managing validator nodes.

Core Features & Use Cases

  • Contract Lifecycle Management: Deploy, call, and write to smart contracts.
  • Network & Account Management: Configure networks, manage accounts, and send tokens.
  • Debugging & Appeals: Inspect transaction receipts, schemas, and appeal transaction results.
  • Local Development: Initialize, start, stop, and manage local GenLayer networks and validators.
  • Use Case: Deploy a new smart contract, interact with its initialize function, and then debug a failed transaction using its hash.

Quick Start

Use the genlayer-cli skill to deploy the contract located at 'contracts/my_contract.py'.

Frequently Asked Questions about genlayer-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy and debug GenLayer smart contracts from the command line?

You can deploy and debug GenLayer smart contracts by using this CLI to deploy contract files, call functions, and inspect transaction receipts or appeal results directly from your terminal.

Can I manage local GenLayer validator nodes and testnets with a CLI?

Yes, you can manage local GenLayer validator nodes and testnets by initializing, starting, and stopping local network environments directly through the CLI commands.

What do I need to install to interact with GenLayer intelligent contracts?

To interact with GenLayer intelligent contracts, you need Node.js and the 'genlayer' npm package installed, which provides the required execution environment for the CLI to function.

How do I inspect a failed transaction hash on the GenLayer network?

To inspect a failed transaction on the GenLayer network, use the CLI to retrieve the transaction receipt by its hash, allowing you to debug issues and review appeal transaction results.

Does the GenLayer CLI support mainnet and testnet network configuration?

Yes, the GenLayer CLI supports mainnet and testnet interactions, allowing you to configure networks, manage accounts, and send tokens across different environments.

What is the best way to manage the full lifecycle of intelligent contracts on GenLayer?

The best way to manage the lifecycle of GenLayer intelligent contracts is using this CLI to handle deployment, function calls, state writes, and transaction debugging in one interface.