Yoramk Digital Life

Yoram Kornatzky

Software Architect & Engineer Open Source, Mobile, Web, Cloud, Server

The BlockStamp Blockchain - Bitcoin on Steroids

The BlockStamp blockchain is a hard fork of Bitcoin with capabilities that take Bitcoin towards those of the more modern blockchains like Ethereum and Steller. We are intending to use BlockStamp in a forthcoming blockchain-based project to be discussed separately. Originally, we would not think ...

ReactPHP is Node.js in PHP

ReactPHP presents itself as bringing asynchronous programming into the PHP ecosystem. In the past, whenever a Laravel project required some active functionality I resorted to Node.js. Obviously, using a dual system with PHP and Node.js has disadvantages. In terms of architecture, you need to com...

The Power of Atomic Transactions - Stellar vs Ethereum

Stellar is a not Turing complete. Theoretically, it means it less powerful than the Ethereum smart contracts. However, theoretical computational power is just one measure of the power of the blockchain smart contracts. One has to consider whether major use cases require that power, and the ease a...

Working with Bitcoin Mnemonics in JavaScript

When you are want to generate Bitcoin addresses for your users, you are really creating a public-private key pair. To operate in a trustless manner as advocated for the blockchain, it is best if you do all wrangling within the user browser, taking only the public key to the server. The way to do...

Programming Bitcoin with Laravel

In a recent project, I constructed a Bitcoin payment solution for an E-Commerce site using Laravel 5.6. Upon clicking a Pay with Bitcoin button in the E-Commerce site, the user will be transferred to our site for payment. Bitcoin Payment The user will be asked to pay to a bitcoin address from hi...

Constructing Bitcoin Multisig Addresses

While many are familiar with Bitcoin multisig addresses, seems when you come to program them, they are very confusing. In recent Bitcoin payment solution, built with Laravel we used multisig addresses, and discovered how confusing these can be. We are working with our bitcoin node, starting with ...

Constructing an Ethereum Escrow Contract

We need a sophisticated escrow contract where the payment is to be split upon delivery of goods between the seller and the escrow (that gets a commission). The escrow contract is deployed by the escrow which is the owner of the contract. The buyer has to pay, upon which the seller should deliver ...

Toolbox for Kickstarting a Small Project with Non Technical People

The Opening Scene You a solo freelancer, someone(s) non-technical with a nice idea arrives at you. And you take upon yourself to build the project. You have to kickstart it, select the tools, the infrastructure, and give it a go. You know that others may join you later, and eventually, you will n...

Contract Upgradability Patterns in Solidity

The Blockchain Immutability One of the major benefits of the blockchain is its immutability. Providing an immutable, timestamped, and unforgeable record of data. In the Ethereum blockchain, smart contracts, most often programmed in Solidity, are themselves stored on the blockchain, and hence are...

Using Counterfactual Approaches For Referral Networks

Should the 2key network apply counterfactual contracts to improve performance? In this article, I'd like to discuss the use of counterfactual contracts in the 2key network. 2key Network is a blockchain-based referral network intended to reward referrers through smart contracts. Referrals progress...