Skip to content
Delphi interface to the Ethereum blockchain
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE.md Create LICENSE.md Jan 2, 2019
README.md Update README.md May 1, 2019
web3.crypto.pas If gasPrice is not specified, then we're asking the network for the m… Jan 30, 2019
web3.eth.abi.pas Added wrapper class for ERC-721 (aka non-fungible token) contracts May 8, 2019
web3.eth.contract.pas
web3.eth.crypto.pas
web3.eth.ens.pas Renamed ADDRESS_NULL to ADDRESS_ZERO Apr 28, 2019
web3.eth.ens.tests.pas Added the Ethereum Name Service (ENS) Apr 3, 2019
web3.eth.erc20.pas Added wrapper class for ERC-721 (aka non-fungible token) contracts May 8, 2019
web3.eth.erc721.pas Added wrapper class for ERC-721 (aka non-fungible token) contracts May 8, 2019
web3.eth.gas.pas
web3.eth.logs.pas Moved blockNumber() from *.logs.pas to *.eth.pas May 10, 2019
web3.eth.pas Moved blockNumber() from *.logs.pas to *.eth.pas May 10, 2019
web3.eth.tx.pas
web3.eth.tx.tests.pas Added TERC20.Transfer() Mar 29, 2019
web3.eth.types.pas Added wrapper class for ERC-721 (aka non-fungible token) contracts May 8, 2019
web3.eth.utils.pas Added: sendTransaction() Jan 27, 2019
web3.eth.utils.tests.pas Added: sendTransaction() Jan 27, 2019
web3.inc Cleaned up (and re-organized) the utils. Jan 5, 2019
web3.json.pas Added: events ERC20.OnTransfer() and ERC20.OnApproval() Apr 12, 2019
web3.json.rpc.pas Added: events ERC20.OnTransfer() and ERC20.OnApproval() Apr 12, 2019
web3.pas Swapped the order of the TWeb3.New() arguments Mar 28, 2019
web3.rlp.pas
web3.rlp.tests.pas
web3.types.pas Added wrapper class for ERC-721 (aka non-fungible token) contracts May 8, 2019
web3.utils.pas Improved web3.utils.isHex() Apr 23, 2019

README.md

What is Delphereum?

Delphereum is a Delphi interface to the Ethereum blockchain that allows for development of native dApps (aka decentralized applications).

What is Delphi?

Delphi is a development environment that compiles into native apps for Windows, macOS, iOS, and Android.

What is Ethereum?

Ethereum is a blockchain-based distributed computing platform and operating system featuring Smart Contracts.

What is a Smart Contract?

A Smart Contract is a computation that takes place on a blockchain or distributed ledger. You can think of a Smart Contract as a microservice that runs trustless on the backend of your application.

Smart Contracts can have many applications, ranging from sports betting to online voting. But the true power of Smart Contracts is in managing assets that have value and are scarce.

Once added to the blockchain, a Smart Contract becomes public and cannot be modified or removed. This assures your users that the rules are transparent and will never change.

What is a dApp?

A dApp is an application whose backend runs on a decentralised network with trustless protocols. dApps aren’t owned by anyone, cannot be shut down, and have zero downtime.

Dependencies

Before you can compile this project, you will need to clone the following repositories, and then add them to your Delphi Library path:

git clone https://github.com/rvelthuis/DelphiBigNumbers
git clone https://github.com/Xor-el/SimpleBaseLib4Pascal
git clone https://github.com/Xor-el/HashLib4Pascal
git clone https://github.com/Xor-el/CryptoLib4Pascal

Please note there are NO runtime dependencies. Delphereum is lightweight and self-contained.

Tutorials

  1. Connecting Delphi to a local (in-memory) blockchain
  2. Connecting Delphi to the Ethereum main net
  3. Connecting Delphi to Smart Contracts
  4. Generating an Ethereum-signed message signature in Delphi
  5. Transferring Ether with Delphi
  6. Transferring ERC-20 tokens with Delphi
  7. Delphi and Ethereum Name Service (ENS)
  8. A 3-minute Smart Contract and Delphi - Part 1
  9. A 3-minute Smart Contract and Delphi - Part 2

License

Distributed under the Creative Commons NonCommercial (aka CC BY-NC) license.

Commercial support and training

Commercial support and training is available from Stefan van As.

You can’t perform that action at this time.