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...
Posted on January 22nd, 2019
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.
The user will be asked to pay to a bitcoin address from hi...
Posted on January 21st, 2019
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 ...
Posted on January 19th, 2019
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 ...
Posted on January 19th, 2019
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...
Posted on January 8th, 2019
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...
Posted on November 26th, 2018
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...
Posted on November 19th, 2018
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...
Posted on October 27th, 2018
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.
The Ethereum blockchain has introduced smart contracts as a vehicle for trustless, secure and decentrali...
Posted on October 22nd, 2018
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.
Posted on August 25th, 2018