Yoramk Digital Life

Yoram Kornatzky

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

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...

Transforming An Ethereum Smart Contract into Bitcoin Transactions

Bitcoin currently has no smart contract capability. The Ethereum blockchain was designed with smart contracts in mind. These smart contracts are most often written in Solidity. Now, say you want to write a smart contract in Bitcoin, an easy way to do it, is to first write it in Solidity, as it ha...

Reasoning on Smart Contracts with Temporal Logic

We propose using temporal logic to reason on Ethereum smart contracts. These are initial first steps in our research intended to start a discussion in the blockchain community. Smart Contracts The Ethereum blockchain has introduced smart contracts as a vehicle for trustless, secure and decentrali...

Setting a Local Debugging Environment for Ethereum

Developing for Ethereum requires several moving parts. Our goal is to kickstart your debugging experience. Instructions apply to both MacOSX and Windows. Geth - A Local Ethereum Node We prefer to use a Geth local Ethereum node. Installation packages are available for MacOSX and Windows. Why Geth?...

What Are the Challenges of Constructing the 2key Smart Contracts?

A YouTube video for 2key Network where I on the challenges of constructing 2key smart contracts.