.env file at the repository root. The repository ships an .env.example that lists every variable with safe placeholder values and inline comments — copy it to .env and fill in the values that apply to your setup. You never need to edit source files or pass environment variables on the command line; the setup scripts and runtime packages read everything from .env automatically.
Start by copying the example file:
.env in your editor and work through the sections below. The only values you must fill in by hand before running any scripts are SELLER_ACCOUNT_ID and SELLER_PRIVATE_KEY. Everything else is either set by the setup scripts or has a working default.
Network
Seller Account
These two variables are the only ones you must supply manually. Obtain them from portal.hedera.com as described in the Accounts guide.Buyer Account
Do not fill these in by hand. Runnpm run setup:buyer and the script writes both values to .env automatically.
Facilitator
HCS Topics
These are written bynpm run setup:topics. Leave them empty until you run that script.
HTS Token (Optional)
Seller Service
LLM Provider
Buyer Dashboard
Complete .env.example Reference
The snippet below shows the complete.env.example for reference. Copy it, then fill in SELLER_ACCOUNT_ID, SELLER_PRIVATE_KEY, and your chosen LLM_PROVIDER key to get started.
.env.example