Skip to content

Commit

Permalink
fix: update Uniswap example URL and API key (#231)
Browse files Browse the repository at this point in the history
add the values
  • Loading branch information
dannythedawger authored Jan 16, 2025
1 parent d364fa9 commit e8c0e49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions typescript/examples/vercel-ai/uniswap/.env.template
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
UNISWAP_API_KEY=
UNISWAP_BASE_URL=
UNISWAP_API_KEY=kHEhfIPvCE3PO5PeT0rNb1CA3JJcnQ8r7kJDXN5X
UNISWAP_BASE_URL=https://trade-api.gateway.uniswap.org/v1
2 changes: 1 addition & 1 deletion typescript/examples/vercel-ai/uniswap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!

Expand Down

0 comments on commit e8c0e49

Please sign in to comment.