Programming

Rune Christensen: ‘Our Job Is to Support Whatever the Maker Community Decides’

As the dust begins to settle over MakerDAO’s Black Thursday incident, the team is now returning to a normal working pace. We took the opportunity to catch up with Rune Christensen, one of the original founders of the protocol, for a full recap of the situation and what it means for Maker (MKR). Christensen had been oddly quiet as the events were unfolding, never joining any forum discussion or issuing comments to the media — until now.MakerDAO provides users with stable DAI cryptocurrency in exchange for their volatile crypto holdings, and

Smart Contracts: Don’t Reinvent the Wheel

SafeMathIn most modern programming languages, safety in arithmetic operations is accounted for, so little thought goes into their implementation. However, in Solidity, overflows and underflows present a security risk.SafeMath is a library that ensures safe arithmetic operations by reverting the transaction if the bounds of an integer data type are exceeded.SafeMath example.The using statement indicates to the compiler that the contract is using functions defined in SafeMath for uint operations. Instead of using arithmetic operators (+, -, *, /, %), use the functions add(), sub(), mul(), div(), and mod(). Source:

Ethereum DApps: How to Listen for Events

Using the instance we created in step 2, we can subscribe to listen out for any events that it emits.Figure 4: Subscribe to ‘MyEvent’As stated earlier, the event we want to listen for is called MyEvent, and figure 4 shows us how. Our myContract instance has an accessor called events from which we can target MyEvent. This is an asynchronous function that returns a promise, and it’s called every time MyEvent is emitted.Line 3 defines what happens once data has been returned from the promise. Here we’re simply logging the

Google Chrome Leads the Pack, but Privacy-Oriented Browsers Gain Traction

In recent months, big-name players like Google and Apple have been going the extra mile to showcase their privacy features to the world. However, as most people are now aware, these multinational companies have business models that are centered around collecting and aggregating the data of their customers. In this regard, growing interest in privacy-first browsers like Brave clearly suggests a collective increase in internet users’ concern over how their personal information is being accumulated, stored and utilized on a day-to-day basis.Individuals all over the globe have become so accustomed to

A Crypto Venture Fund Bought the Most Tokens at MakerDAO’s Debt Auction

An auction to recapitalize MakerDAO (MKR) after the mid-March market turmoil successfully concluded on March 28, bringing in over $5 million worth of DAI. Crypto venture fund Paradigm Capital revealed in a March 31 tweet that it won approximately 68% of the auctioned tokens.The company had previously pledged to join a “backstop syndicate” and cover the entire system shortfall if necessary. Acting as a so-called “backstop,” the group would act as the buyer of last resort by purchasing the MKR tokens if their price fell to $100. (The auction’s starting