Yos Riady software craftsman

👋 Hi, I'm Yos.

I build software for fun and profit.

Here are some things I've written...

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’s approval.

When a dApp (decentralized app) is built off of the Ethereum Blockchain it usually implements its own ERC20 Token. Think Augur’s REP Token, or Bancor’s 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’s examine a design pattern around smart contract extensibility: Wrapped Tokens.

Read on →

Patronage Reimagined: Harberger Crypto-Collectibles

Patronage Reimagined: Harberger Crypto-Collectibles

Over the course of the National Blockchain Challenge, I #BUIDLed a 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’s 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.

A complementary cryptocurrency called Patronage Tokens as a currency of exchange, creating niche economic ecosystems and communities.

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

Let’s 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 financial gains. Tokens were an accessible asset class that anybody could purchase without being a ‘proper’ 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 ‘crypto 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. Cryptopunks and CryptoKitties were among the first unique collectibles with proof of ownership stored on the Ethereum blockchain.

Let’s 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. The ERC20 standard ignited the crypto spring, allowing for the creation of core infrastructure and exchanges that continue to be the backbone of the crypto ecosystem today.

In this article, let’s look at some Ethereum ERC standards that you should know about - including standards you’ve probably 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 ‘spent’ so the total circulating supply decreases over time. In this article, we’ll examine several real-life token projects and how they make their tokens spendable. We’ll look at three token models: Protocol Tokens, Platform Tokens, and Governance Tokens.

Read on →

Harberger Taxes on Ethereum

Harberger Taxes

Harberger Taxes is an economic abstraction - recently highlighted in the book Radical Markets - that aims to democratize the control of assets by striking a balance between private and commons ownership. In this taxation system, asset owners self-assess the value of assets they own and pay a tax rate of X% on that value. Whatever value owners specify for the asset, they have to be willing to part ways and sell it to anyone at that price.

The emerging field of cryptoeconomics uses both cryptography and economic incentives to design decentralized protocols and applications. Smart contracts defines the rules of an economic game which incentivize rational actors to behave in optimally desirable ways. Decentralized protocols lets us inscribe transparent rules on the blockchain that aligns individual incentives to achieve a common goal.

Blockchains offer a testing ground for experimenting with economic abstractions such as Harberger Taxes, where rules can be enforced with smart contracts. In this article, let’s look at Harberger Taxes and how we can use it in decentralized applications.

Read on →
Going Serverless book

Interested to find out more about serverless? Going Serverless 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 →