webhook-receiver

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

README

Webhook Receiver Example

A simple HTTP server to receive and print events sent by the evm-scanner webhook output.

How to Run

  1. Start the receiver:

    go run main.go
    

    The server will listen on http://localhost:8080/webhook.

  2. Configure the Scanner: In your app.yaml, enable the webhook output:

    outputs:
      webhook:
        enabled: true
        url: "http://localhost:8080/webhook"
        # ... other settings
    
  3. Run the Scanner:

    ./bin/scanner-cli
    

Expected Output

When the scanner finds matching events, you will see them printed in the receiver's console:

Received 5 events via webhook:
 - [0xdAC17F958D2ee523a2206206994597C13D831ec7] Tx: 0x... | Event: Transfer

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