deploying-contracts-on-gatelayer

Installation
SKILL.md

Deploying Contracts on GateLayer

Prerequisites

  1. Configure RPC endpoint (testnet: https://gatelayer-testnet.gatenode.cc, mainnet: https://gatelayer-mainnet.gatenode.cc)
  2. Store private keys in Foundry's encrypted keystore — never commit keys
  3. Obtain testnet GT from faucet (testnet only)

Security

  • Never commit private keys to version control — use Foundry's encrypted keystore (cast wallet import)
  • Never hardcode API keys in source files — use environment variables or foundry.toml with ${ENV_VAR} references
  • Never expose .env files — add .env to .gitignore
  • Use production RPC providers (not public endpoints) for mainnet deployments to avoid rate limits and data leaks
  • Verify contracts on GateScan to enable public audit of deployed code

Input Validation

Before constructing shell commands, validate all user-provided values:

Installs
4
First Seen
Feb 25, 2026
deploying-contracts-on-gatelayer — gatechain/gatelayer_skills