diff --git a/typescript/examples/vercel-ai/uniswap/.env.template b/typescript/examples/vercel-ai/uniswap/.env.template index 266796815..d9655f6d1 100644 --- a/typescript/examples/vercel-ai/uniswap/.env.template +++ b/typescript/examples/vercel-ai/uniswap/.env.template @@ -1,2 +1,2 @@ -UNISWAP_API_KEY= -UNISWAP_BASE_URL= +UNISWAP_API_KEY=kHEhfIPvCE3PO5PeT0rNb1CA3JJcnQ8r7kJDXN5X +UNISWAP_BASE_URL=https://trade-api.gateway.uniswap.org/v1 diff --git a/typescript/examples/vercel-ai/uniswap/README.md b/typescript/examples/vercel-ai/uniswap/README.md index f6f70bbca..f5996a142 100644 --- a/typescript/examples/vercel-ai/uniswap/README.md +++ b/typescript/examples/vercel-ai/uniswap/README.md @@ -12,7 +12,7 @@ cp .env.template .env ## Usage -1. Create an API key for Uniswap's Trading API by visiting [this page](https://hub.uniswap.org/) and following the instructions. Also obtain the url from the API key creation page. +1. Create an API key for Uniswap's Trading API by visiting [this page](https://hub.uniswap.org/) and following the instructions. To obtain the URL, visit the Uniswap Trading API docs site [here](https://uniswap-docs.readme.io/reference/trading-flow). Otherwise, you can use the sample values in `.env.template`. 2. Run the script with your prompt!