@@ -4,7 +4,7 @@ This guide walks you through setting up ChainCast to monitor **$LX token transfe
44
55## What You'll Build
66
7- You'll create a ChainCast that:
7+ You'll create a Contract Cast that:
88- Connects to Ethereum mainnet via Alchemy RPC
99- Monitors the $LX token contract for Transfer events
1010- Processes and logs transfer details (from, to, value)
@@ -71,7 +71,7 @@ bunx prisma migrate deploy
7171bun run db:reset
7272```
7373
74- ## Step 4: Create a ChainCast Program
74+ ## Step 4: Create a Contract Cast Program
7575
7676Create a program file to monitor $LX token transfers. Create a file called ` examples/lx-token-monitor.json ` :
7777
@@ -112,7 +112,7 @@ bun run dev
112112
113113The service will be available at ` http://localhost:4400/api/graphql `
114114
115- ## Step 6: Create ChainCast via GraphQL API
115+ ## Step 6: Create Contract Cast via GraphQL API
116116
117117Use the GraphQL API to create a contract cast for the $LX token. You can use the GraphQL Playground at ` http://localhost:4400/api/graphql ` or curl:
118118
@@ -161,7 +161,7 @@ curl -X POST http://localhost:4400/api/graphql \
161161
162162## Step 7: Monitor Live Transfers
163163
164- Once the ChainCast is created, it will:
164+ Once the Contract Cast is created, it will:
1651651 . Start recovering historical Transfer events from the $LX token contract
1661662 . Begin listening for new Transfer events in real-time
1671673 . Process each event through your program pipeline
@@ -177,9 +177,9 @@ Check the ChainCast service terminal to see the transfer events being processed:
177177[DEBUG] event.args.value: 1000000000000000000
178178```
179179
180- ## Step 8: Query the ChainCast Status
180+ ## Step 8: Query the Contract Cast Status
181181
182- Check the status of your ChainCast using the GraphQL API:
182+ Check the status of your Contract Cast using the GraphQL API:
183183
184184``` graphql
185185query getChainCasts {
@@ -261,7 +261,7 @@ Now that you have ChainCast monitoring $LX transfers, you can:
261261 bun run castc compile my-pipeline.yaml --base64
262262 ```
263263
264- - ** Monitor Multiple Contracts** : Create additional ChainCasts for other tokens or contracts
264+ - ** Monitor Multiple Contracts** : Create additional Contract Casts for other tokens or contracts
265265
266266- ** Explore the Instructions** : See ` src/instructions/ ` for all available processing instructions
267267
0 commit comments