Solidity Day 2/ 30


Most people don’t know that installing software packages takes more time than programming.

This is why using containers is so revolutionary – they are like little preinstalled computers.

This is what I learned day 2 of solidity programming

My computer ground to a halt.

I ran the three functions in scaffolding eth. I started them stopped them restarted them. And then my computer stopped.

I had like 10 million node processes running. Maybe I should run this in a container!

While waiting for everything install I thought about port 3000.

Is it related to @mst3k mystery science theater 3000?

Probably not but I went down a rabbit hole.

Here are all mst3k episodes ranked.

I have a favorite – but I don’t know its name 😦

I started programming a python app.

The python app turns mantras into sounds. I am going to use #scipy and matrices.

Maybe I will work on it more doing this 30for30 when solidity is slow – like saving things to the blockchain.

At one point my terminal stopped working!

The error: Clear error in Linux: Terminals Database Is Inaccessible Solution

I reset the terminal emulation:
export TERM=vt100. Something I have not done in like 20 years. And it worked!

I researched tricking out my tmux config – as one does.

Can different panes in #tmux have different color schemes?

Day 2 and it does not feel like much solidity was learned, but sometimes the hardest part is getting your environment set up

If you liked this :

1. Toss me a follow for more threads β†’ @hackerm0m

2. Join me in learning solidity this month

Day 1/30 solidity in public


Solidity 101

I have mucked around with solidity for years but still don’t feel solid.

This month I am coding examples scaffold-eth every day on,

Today was day 1 and this is what I learned πŸ§΅πŸ‘‡


It takes a long time to clone

β€’I think I should have done the cooking show technique and pre-downloaded it

But this gave me time to pay closer attention to the solidity contracts

#2: What is the goal?

No cut and paste CODE!

β€’ Week 1 go through the basic exercises

β€’ Week 2 build a staking app on buidl guide

β€’ Week 3 build a dex

This is pretty ambitious β€” go BIG or go home!

#3: What did we learn today?

The repo is still cloning as we speak, we learned a lot

β€’ 3 types of variables: local, state & global (ie blockchain)

β€’ Gas fee logic (non-linearly related to # of statements & more) β€”

β€’ Beanstalk was hacked 😦

TL;DR: A journey of 1000 miles begins with a single step

Today I took one step along with some folks

β€’ We installed the scaffolding-eth repo

β€’ Made a Plan

β€’ Learned some things

Want to learn solidity with me? Follow me @hackerm0m and join on twitch every day this month!

Read this post and more on my Typeshare Social Blog