/PubSub

PubSub is a simple "Hello World" example project, demonstrating how to subscribe to an Ethereum gateway and get notified every time a new block got mined.

Primary LanguagePascalMIT LicenseMIT

GitHub release GitHub license Windows

PubSub

PubSub is a simple "Hello World" example project, demonstrating how to subscribe to an Ethereum RPC provider and get notified every time a new block got mined.

This project depends on...

  1. Delphereum, a web3 implementation for the Delphi programming language.
  2. eSeGeCe WebSockets, a WebSockets implementation for the Delphi programming language.
  3. OpenSSL binaries version 1.0.2u (aka the latest version supported by the Indy project).

The very 1st time you run this project, it will prompt you for your (Infura or Alchemy) API key. Enter your API key, close Notepad, and save changes to the TXT file. You are then good to go.