Yos Riady optimize for learning

馃憢 Hi, I'm Yos.

I build software for fun and profit.

Here are some recent articles...

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 were released only a few years ago in 2015. 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!

Read on →

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.

Read on →

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.

Read on →

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.

Read on →

Patronage Markets

Patronage Markets

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.

The Fall of Fan Patronage outlines the motivation behind Patronage Markets.

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

Read on →

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.

Read on →

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.

Read on →

How The Blockchain is Changing How We View Art

How the Blockchain is Changing How We View Art

Cryptocollectibles are rapidly becoming one of the earliest mainstream use cases of the blockchain. Let鈥檚 examine how the blockchain is changing how we view art.

Read on →

Ethereum ERC Standards You Should Know About

Ethereum ERC Standards You Should Know About

The ERC20 token standard has achieved near-complete industry adoption. It defined six minimal requirements for the way tokens behave on the Ethereum blockchain. Anyone could comply with the token standard and implement additional functions as needed. This standard ignited the ICO wave, allowing for the creation of core infrastructure and exchanges that is the backbone of the crypto ecosystem today.

Let鈥檚 look at Ethereum ERC standards you should know about - including some you鈥檝e never seen before!

Read on →

Utility Token Models

Utility Token Models

Relying purely on memes and hype to support a token value, while attractive because of its ability to print money out of thin air, is ultimately quite brittle. Tokens following this pattern may sustain itself for a time due to irrational exuberance, but whenever the market turns sour the risk of collapse is real.

For a token to have a stable value, it needs token sinks - places where tokens can be 鈥榮pent鈥 so the total circulating supply decreases over time. In this article, we鈥檒l examine several real-life token projects and how they make their tokens spendable. We鈥檒l look at three token models: Protocol Tokens, Platform Tokens, and Governance Tokens.

Read on →


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.

Find out more →