Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

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.

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

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.