Yos Riady optimize for learning

馃憢 Hi, I'm Yos.

I'm a Software Engineer based in Singapore.

Here are some recent articles...

The Ethics of Money Production

The Ethics of Money Production, Abridged

This is an abridged version of J枚rg Guido H眉lsmann鈥檚 The Ethics of Money Production, with an emphasis on the origins of money, private coinage, and competition of private currencies.

The original book is available as a free PDF and on paperback. Images used are from Spice and Wolf by Keito Koume and Isuna Hasekura.

Continue reading →

The Use of Knowledge in Society

The Use of Knowledge in Society

This is an abridged version of Friedrich Hayek鈥檚 The Use of Knowledge in Society.

Continue reading →

Decentralized Finance Explained

Decentralized Finance Explained

Decentralized Finance (or DeFi) is an emerging category of financial applications that are being developed on top of trustless networks. Today, most of this innovation is happening on the Ethereum blockchain. An entire digital finance stack came into existence within the past 18 months, under the radar of most people.

This guide will explain to you what DeFi is all about, without the jargon.

What we'll learn

Our exploration of DeFi will consist of three parts:

  • An introduction to what DeFi means and why it matters.

  • A tour of different financial applications in the Ethereum ecosystem.

  • A deep dive into decentralized lending with the Compound protocol.

By the end of this guide, you鈥檒l have a better understanding of DeFi and be able to learn more on your own. Read on!

Continue reading →

Best Practices for Smart Contract Development

Smart Contract Development Best Practices

Software development has been around for decades. We benefit from the best practices, design patterns, and nuggets of wisdom that has accumulated over that long history.

In contrast, smart contract development is just getting started. Ethereum and Solidity launched in 2015, just a few years ago. There鈥檚 no definitive stack of tools - like LAMP or MEAN in web development - to build decentralized apps. There are no developer handbooks like Design Patterns or Clean Code for smart contracts. Information is scattered all over the place.

The crypto space is mostly uncharted territory. To address this, I鈥檓 writing the missing guide I wish existed. It summarizes the lessons I鈥檝e learned from writing smart contracts, building decentralized applications, and studying open source projects in the Ethereum ecosystem. My hope is it will be useful to developers new to crypto.

Let鈥檚 get started!

Continue reading →

How to Verify Smart Contracts on Etherscan

How to Verify Smart Contracts on Etherscan

Want to quickly build a web UI for your smart contracts? Etherscan can do that for you! Read on to learn how to verify your Solidity smart contracts on Etherscan.

Continue reading →

Smart Contract Extensibility with Wrapped Tokens

Smart Contract Extensibility with Wrapped Tokens

Smart contracts鈥 open source and immutable nature enables permissionless innovation in the space. People and companies can innovate on top of protocols without worrying about the rules of the game changing later on. Any Developer can innovate and build new dApps freely in a permissionless manner, without needing anybody鈥檚 approval.

When a dApp (decentralized app) is built off of the Ethereum Blockchain it usually implements its own ERC20 Token. Think Augur鈥檚 REP Token, or Bancor鈥檚 BNT Token. ERC20 is a token standard developed after the release of ETH that defines how tokens are transferred and how to keep a consistent record of those transfers among tokens in the Ethereum Network.

Decentralized services can be composed together to harness their particular strengths. The question is: How can developers extend the capability of an existing ERC20 token contract? In this article, let鈥檚 examine a design pattern around smart contract extensibility: Wrapped Tokens.

Continue reading →

Patronage Reimagined: Harberger Crypto-Collectibles

Patronage Reimagined: Harberger Crypto-Collectibles

I won the Singapore National Blockchain Challenge. Read on to learn more about my winning project around decentralized crowdfunding.

Platforms such as Patreon has high fees and can deplatform you at any time. Instead of having to go through a centralized platform, what if Creators can utilize smart contracts and decentralized protocols to crowdfund in an intermediary-free way?

Enter Patronage Collectibles.

You can check out our post-hackathon interview here.

Continue reading →

Patronage Markets

Patronage Markets

To learn more about the why, check out The Fall of Fan Patronage.

A Patronage Market is a cryptoeconomic system that facilitates the creation of market-driven communities between Creators and Patrons on the Ethereum blockchain, without the need to trust counterparties or to pass intermediaries. It鈥檚 an alternative crowdfunding mechanism for a creative space plagued by platform censorship.

In a Patronage Market:

  • Creators issue unique personal cryptocurrencies backed by products and/or services which makes it spendable.
  • Patrons collect tokens to redeem it for services and/or exclusive privileges, acquire social status, and invest in promising Creators.

The market uses a 鈥榗omplementary currency鈥 called Patronage Tokens as the currency of exchange, creating tokenized economies and communities.

Let鈥檚 learn about the Patronage Markets concept and how it works.

Continue reading →

The Fall of Fan Patronage

The Fall of Pan Patronage

In recent years, alternative ways to raise capital has risen in popularity. Crowdfunding lets projects to be funded by raising small amounts of money from a large number of backers. Subscription patronage lets fans support their favourite Creators with regular payments in exchange for goods or special perks. Both crowdfunding and subscription patronage has helped creators reduce risk and generate a reliable income from their work. Lots of interesting projects would not have been possible without them.

However, deplatforming has become a major risk to fan funding. Large tech companies can and have deplatformed and demonetized many independent creators with little explanation or notice. This phenomena effectively destroys creators鈥 audience and income should it happen to them.

Continue reading →

Introducing Web3 Singapore

Introducing Web3 Singapore

Most people who got into in cryptocurrencies saw it primarily for its potential for financial gain. Tokens were an accessible asset class that anybody could purchase without being a 鈥榩roper鈥 investor.

After an unprecedented boom in 2017, the price of bitcoin fell by about 65 percent after January 2018. By September 2018, cryptocurrencies collapsed 80% from their peak in January 2018. We are currently experiencing the longest bear market - a 鈥榗rypto winter鈥 - in the brief and turbulent history of cryptocurrency.

However, speculative bubbles around a disruptive technology are nothing new.

Continue reading →


Here's something you might be interested in...

Going Serverless book

Have you heard about the Serverless programming model? The Going Serverless book teaches you how to build scalable applications with the Serverless framework and AWS Lambda. You'll learn how to design, develop, test, deploy, and secure Serverless applications from planning to production.

Learn more →