command
Version:
v0.16.0
Opens a new window with list of versions in this module.
Published: Oct 14, 2025
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
This example reads events from the logs for a smart contract.
Steps:
- Rename the ".env.template" file located at the root of the "examples" folder to ".env"
- Uncomment, and assign your Starknet Sepolia testnet endpoint to the
RPC_PROVIDER_URL variable in the ".env" file
- (optional) Uncomment, and assign your Sepolia WebSocket testnet endpoint to the
WS_PROVIDER_URL variable in the ".env" file
- Make sure you are in the "readEvents" directory
- Execute
go run main.go
The number of events read will be reported.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.