The Case for Solidity-Only Testing in Smart Contract Development

Posted on Mon 09 October 2023 in tech • Tagged with ethereum, solidity, foundry

The Case for Solidity-Only Testing in Smart Contract Development

If you're diving into the world of Solidity and smart contracts, you may have wrestled with the question: should I develop and test my project entirely in Solidity? For those unfamiliar with the debate, the alternative is often testing using TypeScript …


Continue reading

vm.mockCall in Solidity

Posted on Mon 24 July 2023 in tech • Tagged with solidity, ethereum, programming, tutorial

mocking calls to specific addresses in solidity

Mocking a specific address signature in Solidity is useful for simulating expected behavior from an existing address or instance of a contract. In mock testing dependencies are replaced with simulated implementations to isolate the behavior of the funtion under test.

Proxy contracts that …


Continue reading

Introduction to market making for engineers

Posted on Sat 20 May 2023 in tech • Tagged with bitcoin, ethereum, crypto, market-making, tutorial

Market Making in Crypto

High performance trading systems designers implement event sourcing models to build of low latency distributed systems. This is useful for market making where placing buy and sell orders rapidly lowers risk and improves profitability.

In this tutorial I explain how trading systems are designed to implement …


Continue reading

Collective Governance Deployment to Sepolia TestNet

Posted on Mon 17 April 2023 in tech • Tagged with solidity, programming, ethereum, web3, deployment

Collective Governance 0.9.8 is deployed on Sepolia TestNet.

Sepolia TestNet

Contract Ethereum Address Version
Constant 0xD5DA9B812806E080948476A801d2004f3305E63F 0.9.8
CommunityBuilder 0x4ba7E0dc43180Cb10EF53FF9Da923E02f459Ec9F 0.9.8
GovernanceBuilder 0xe1a13ea37F2BFE35B612799fcf9eBD43efA00B87 0.9.8

Collective Governance is a smart contract that allows communities to decide outcomes on-chain. Collective Governance is also designed to …


Continue reading

Dynamic address set in solidity

Posted on Fri 17 February 2023 in tech • Tagged with solidity, ethereum, programming, tutorial

Dynamic Address Set

This is a complete step by step walkthrough implementation of a dynamic address set in Solidity for Ethereum blockchain.

Includes:

  • foundry
  • modifier
  • event
  • dynamic data structures
  • unit testing

  • Full project on GitHub

  • Full tutorial on YouTube:

Immediately get started developing smart contracts

Posted on Sat 28 January 2023 in tech • Tagged with solidity, docker, ethereum, foundry, collective

Immediately get started developing smart contracts using the Collective.

Full tutorial on YouTube: