Commands Usage Guide

Initial Setup

Before you can add contracts, you’ll usually want to create a configuration file in your working directory. This stores defaults like network, wallet address, and metadata.

# Create a new configuration file
smart-cache init

# Interactive setup with prompts
smart-cache init --interactive

# Overwrite an existing file
smart-cache init --force

This generates a smartcache.toml file with default settings that you can edit as needed.

Last updated