diff --git a/README.md b/README.md index 2783125..ab4ff1f 100644 --- a/README.md +++ b/README.md @@ -240,7 +240,7 @@ See the [examples directory](./examples/README.md) for detailed usage patterns. ```bash cd examples cp .env.example .env # add your API key -pnpm dlx ts-node metadata.validation.ts +pnpm dlx ts-node ex.metadata.validation.ts ``` ## Development diff --git a/examples/README.md b/examples/README.md index 4cefd22..7e93da0 100644 --- a/examples/README.md +++ b/examples/README.md @@ -18,7 +18,7 @@ Before running the examples: ## Available Examples -### Metadata Validation (`metadata.validation.ts`) +### Metadata Validation (`ex.metadata.validation.ts`) Demonstrates how to: @@ -30,10 +30,10 @@ Demonstrates how to: Run with: ```bash -npx ts-node metadata.validation.ts +npx ts-node ex.metadata.validation.ts ``` -### Metric Dumping (`metric.dump.ts`) +### Metric Dumping (`ex.metric.dump.ts`) Shows how to: @@ -45,7 +45,7 @@ Shows how to: Run with: ```bash -npx ts-node metric.dump.ts +npx ts-node ex.metric.dump.ts ``` ### x402 Paid Calls — Active Addresses (`ex.x402.active-addresses.ts`) @@ -84,7 +84,7 @@ The examples use: - `dotenv` - For loading environment variables - `ts-node` - For running TypeScript files directly -- `zod` - For schema validation (used in metadata.validation.ts) +- `zod` - For schema validation (used in ex.metadata.validation.ts) - `@x402/fetch`, `@x402/evm`, `viem` - For the x402 paid-API example (payment signing on Base) ## Adding New Examples diff --git a/examples/bulk.market-cap.ts b/examples/ex.bulk.market-cap.ts similarity index 100% rename from examples/bulk.market-cap.ts rename to examples/ex.bulk.market-cap.ts diff --git a/examples/metadata.validation.ts b/examples/ex.metadata.validation.ts similarity index 100% rename from examples/metadata.validation.ts rename to examples/ex.metadata.validation.ts diff --git a/examples/metric.dump.ts b/examples/ex.metric.dump.ts similarity index 100% rename from examples/metric.dump.ts rename to examples/ex.metric.dump.ts