Cover photo

20/26_02_2023

Basecamp

After reading code about L1/L2 messaging I was confused about how the code was able to tell witch function it should call. I learned that to communicate from L1 → L2 Cairo need to call a specific function formatted as a “selector” : hashing the name of the function with a special hash (starknet_keccak).

The internet and ChatGPT doesn’t know anything about this…

It turns out that I just needed to convert using a tool…

Can’t send transaction on L1 Goerli because now ETH can be bridged to Goerli, hence creating value to GoerliETH resulting in transactions fees being at 3GETH now… I’ll wait for it to settle down.

MyDAO

As I can’t send transactions on L1 and apparently Starknet faucet is also unavailable (maybe for the same reason), I started the last homework of basecamp : creating something in Cairo 1.0.

After almost no reflexion, I decided to create the contract for the DAO cited last week. As it’s a little complicated I needed to create a basic model of my understanding (I also put things in my own way) :

Updated version of my understanding (Working Groups)
Updated version of my understanding (Working Groups)

Starklings

They released new exercices !!!

It took me ~1h, well made and I think I’m ready to start coding a first version of MyDAO contract.

CopyDex

Trader is losing money so not a lot of moves 😕 Took a little move (+20%) just before the market turn the other way.

I should create a website to search for traders, gmx.house is doing something like that but it’s only sorting traders by net PNL, not really a performance indicator.

LPs strategy

There is a guys I talked to, that introduced me to LPs strategies and the notion of Market-Neutral Strategy. Will learn more about that.

I looked at alpaca finance strategy of Market-Neutral Strategy their documentation is pretty good. I will try to create a MVP not next week but the one after.

Will surely not do anything valuable as I’m skiing next week.