React useReducer hook for form handling

I’ve started porting over a recent React project to use the new Hooks API. Porting a few state values is relatively simple with the useState hook, but when it comes to larger state objects (e.g. for forms) the useReducer hook comes in handy.

Using bitmaps for efficient Solidity smart contracts

Smart contracts on Ethereum cost gas to run, and since gas is paid for in Ether, it’s generally a good idea to minimize the gas cost of running one’s contract. In this sense, writing a smart contract is similar to writing a complex program for a r...