Three steps to document Solididty in SPHINX

Posted on Tue 27 September 2022 in tech • Tagged with solidity, programming, ethereum, crypto, sphinx, tutorial

I was able to get solidity docgen working by implementing a series of three different stages all automated in our build process.

  1. Parse the solc output into actual json.
  2. Load the json file into the documentation system
  3. Use a Jinja template to convert the api document

There is shockingly poor …


Continue reading

How to Configure git editor in a codespace

Posted on Fri 23 September 2022 in tech • Tagged with programming, github, codespaces

How to configure git to use vscode as the default editor from your codespace:

git config --global core.editor "code --wait"


Collective Governance

Posted on Mon 22 August 2022 in tech • Tagged with solidity, programming, ethereum, web3

One of the really awesome aspects of developing an Ethereum Smart Contract for NFT Governance is that all the code is open source. For the first time in the history of my career I can share what I am working on.

Currently I am developing a smart contract for community …


Continue reading

Sharing data in smart contracts

Posted on Tue 09 August 2022 in tech • Tagged with solidity, programming, ethereum, web3

Sharing data across smart contracts is not always as easy as it might seem. Here is an example of using getters and setters to share data easily between two contracts.


TypeScript instanceof vs a Type Guard

Posted on Wed 08 June 2022 in tech • Tagged with TypeScript, programming

I was recently horrified to discover that TypeScript instanceof does not support interfaces. Of course this begs the question of it's utility, however I digress. The solution is to use a type guard:

Solana Parsed Instruction vs PartiallyDecodedInstruction


Emacs ...

Posted on Sun 23 January 2022 in news • Tagged with emacs, programming, humor

Ctrl-K is the first key to wear out on an Emacs user's keyboard