Install
From this monorepo:tokenlayer and token-layer.
Quick start
Initialize a profile:Profiles
Profiles let one machine manage multiple auth contexts for different agents or operators.~/.token-layer-cli/profiles.json$TL_CLI_HOME/profiles.json
Wallets
The CLI can generate and store local Ethereum and Solana wallets.~/.token-layer-cli/wallets.json$TL_CLI_HOME/wallets.json
Authentication
Three main auth paths are supported:- profile-based auth from
tokenlayer init - direct flags such as
--jwt,--api-key, and--token - environment variables such as
TL_JWT,TL_API_KEY, andTL_PROFILE
--source mainnet--source testnet
Action commands
Register with wallet signing
Create a token
Trade a token
Transfer a token
Info commands
Agent workflow
For autonomous systems, the common loop is:- Discover candidates with
info get-tokens-v2 - Inspect recent flow with
info get-token-activityorinfo get-token-trades - Evaluate market structure with
info get-token-candlesandinfo get-token-stats - Execute with
action trade-tokenoraction transfer-token
Local development in this repo
packages/token-layer-cli, and the CLI targets the same Token Layer HTTP API documented in this site.