From 007bbb5da3fa9fe370fb751db981a6031d28e474 Mon Sep 17 00:00:00 2001 From: Jamie C <3467256+starit@users.noreply.github.com> Date: Thu, 28 Mar 2024 17:28:38 -0700 Subject: [PATCH] Update README.md Update the demo code to make it match with the code --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c89893e..164ec86 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ Farcaster bot framework. ```ts import { startPolling } from '@big-whale-labs/botcaster' -const farcasterAddress = '0x143979b5E07138b5555001fF34474cFFDf6E97FB' -startPolling(farcasterAddress, (notification) => { +const fid = 123 +startPolling(fid, YOUR_API_KEY (notification) => { console.log(notification) }) ```