Skip to main content

4 posts tagged with "DeFi"

Decentralized finance protocols and patterns

View All Tags

A short crypto reading list for people who actually want to build

· 4 min read
Francis Roberts
Technical Writer

Every couple of months someone messages me asking where to start with crypto. Not "should I buy some" — they mean "I want to build something on-chain, where do I read." The honest answer is that most "intro to crypto" content is bad: it is either price-chart bait or a 90-minute YouTube lecture that could have been a paragraph.

This post is the short list of links I actually send. Each one earned its spot by being something I have either learned from or sent to a working developer who came back less confused.

Testing DeFi protocols with Foundry

· 4 min read
Francis Roberts
Technical Writer

Foundry has become a serious alternative to Hardhat for smart contract development, and for testing DeFi protocols specifically, it has some compelling advantages. Tests are written in Solidity, the fork feature is fast, and fuzzing is built in without additional setup. Here's a practical overview of how to use it effectively.

Foundry: fast Ethereum development toolkit

How Chainlink oracles work

· 4 min read
Francis Roberts
Technical Writer

Oracles are one of the more misunderstood pieces of blockchain infrastructure. The blockchain itself has no access to off-chain data. It can't fetch an API, check a stock price, or know what the weather is. Oracles bridge that gap. Chainlink is the dominant oracle network, and understanding how it works matters if you're building anything that relies on external data.

Chainlink decentralized oracle network

DeFi protocol design patterns

· 4 min read
Francis Roberts
Technical Writer

DeFi protocols deal with a specific combination of constraints that you don't encounter in most software: code that's public and immutable, assets that move automatically based on logic, and adversaries who will find and exploit any mistake. Patterns that work well in these conditions have emerged from a few years of production experience and some expensive failures.

Chainlink Data Feeds