readEvents

command
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2025 License: MIT Imports: 8 Imported by: 0

README

This example reads events from the logs for a smart contract.

Steps:

  1. Rename the ".env.template" file located at the root of the "examples" folder to ".env"
  2. Uncomment, and assign your Starknet Sepolia testnet endpoint to the RPC_PROVIDER_URL variable in the ".env" file
  3. (optional) Uncomment, and assign your Sepolia WebSocket testnet endpoint to the WS_PROVIDER_URL variable in the ".env" file
  4. Make sure you are in the "readEvents" directory
  5. Execute go run main.go

The number of events read will be reported.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL