Skills

Genlayer CLI

Use the GenLayer CLI to deploy, interact with, and debug intelligent contracts.

Install

npx skills add internet-court/internet-court-skill --skill genlayer-cli -g -a claude-code -y
Category
Testing
Updated
9d ago
License
See repository
Context cost
Mediumabout 2,117 tokens
Runs scripts
No, instructions only

What it does

Use the GenLayer CLI to deploy, interact with, and debug intelligent contracts.

GenLayer CLI

The genlayer CLI manages contract deployment, interaction, transaction inspection, and network configuration. Works with GenLayer Studio (local), studio.genlayer.com, and Testnet Bradbury.

Setup

npm install -g genlayer

Network Configuration

genlayer network set                    # Interactive selector
genlayer network set testnet-bradbury   # Direct
genlayer network info                   # Show current network config
genlayer network list                   # List all networks

Networks: localnet, studionet, testnet-asimov, testnet-bradbury

Note: studionet is gasless, no tokens are required to deploy or interact with contracts. A 0 GEN balance is expected and does not prevent any operations.

Note: studionet is rate-limited per IP, 60 req/min, 1000 req/hr, 10000 req/day. Limits aren't permanent, batching many deploy/write calls trips -32429 / HTTP 429 and further requests are rejected until the window resets (next minute / hour / day cycle). -32028 signals the pending-queue cap, up to 32 in-flight txs per sender; a separate cap also applies per contract. Throttle batch scripts, wait for receipts between submissions, or use localnet for heavy batches.

Always use genlayer network set instead of --rpc for built-in networks. The --rpc flag bypasses the chain configuration (consensus contract ABI, isStudio flag, etc.) and will cause transaction polling failures. Only use --rpc for custom/private networks not in the built-in list.

Account Management

Read the whole SKILL.md on GitHub

More in Testing