Grep-Fu - show all signatures for custom errors

Posted on Tue 07 March 2023 in tech • Tagged with solidity, programming

Grep-Fu

Custom errors are a feature of Solidity that allow you to display error messages to the user in a convenient and gas-efficient way. They are declared in the head of the contract and called after a revert statement.

error Unauthorized();
if (msg.sender != owner()) {
  revert Unauthorized();
}

However, a challenge …


Continue reading

on defining proofs of knowledge - part 1

Posted on Tue 28 February 2023 in tech • Tagged with crypto, journal

Introduction to proofs of knowledge - journal club

A proof of knowledge is a proof in which a prover can convince a verifier that it knows a secret. Typically the goal is to do so without revealing the secret which arrives at zero knowledge being expressed by the proving process.

In …


Continue reading

ETOPO 30 Arc Second 2022 container

Posted on Sun 19 February 2023 in tech • Tagged with etopo, docker, gmt

ETOPO 30 Arc Second

Now available ETOPO 30 Arc Second 2022 Relief Model Docker container. This project is hosted on GitHub and available to download from either Docker Hub or GHCR

Ultra HD Wallpapers:

Package Contents:

  • Debian Stable
  • GMT 6.1
  • ETOPO …

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:

Compiled switch in modern c++

Posted on Tue 31 January 2023 in tech • Tagged with c++, c++20, programming, tutorial

Compiled Switch

This example demonstrates how to incorporate a compiled switch construct in an event driven application such as a market data handler or parser.

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: