From ae2f0710cb30770e03e2f9d9e243d988507db684 Mon Sep 17 00:00:00 2001 From: alec <93971719+0xAlec@users.noreply.github.com> Date: Tue, 12 Nov 2024 22:19:19 -0500 Subject: [PATCH] Update README.md (#51) * Update README.md * Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc422ee..68cfc1f 100644 --- a/README.md +++ b/README.md @@ -67,9 +67,10 @@ Steps: - Under `Secrets` in `Workspace Features`, add the environment variables below. - Tip: You can click `Edit as JSON` and copy the values below in. - Click `Deploy` in the top right. - - Tip: Deploy your backend first, as you'll need the deployment URL for the frontend's `NEXT_PUBLIC_API_URL` environment variable. + - Tip: Deploy your backend first, as you'll need the deployment URL to set as `NEXT_PUBLIC_API_URL` in the frontend. + - Tip: You can click `Run` to test if the applications run properly before deploying. -**Backend** +**Backend Secrets** ``` { "CDP_API_KEY_NAME": "get this from https://portal.cdp.coinbase.com/projects/api-keys", @@ -81,11 +82,14 @@ Steps: **Important: Replit resets the SQLite template on every deployment, before sending funds to your agent or using it on Mainnet be sure to read [Agent Wallet](https://github.com/coinbase/onchain-agent-demo-backend?tab=readme-ov-file#agent-wallet) and save your wallet ID and seed in a safe place.** -**Frontend** +**Frontend Secrets** ``` { "NEXT_PUBLIC_API_URL": "your backend deployment URL here" } +``` + +Note: you'll need to include the scheme (`https://`) in `NEXT_PUBLIC_API_URL`. ## License