Cover photo

13/19_02_2023

Didn’t manage to do much this week 😕 I’ll try to be more obsessional next week.

State of DAOs :

I researched current DAO usage and found that not every DAOs are on-chain. Indeed, snapshot.org is hosting off-chain some big communities like/as Optimism, Stargate, Arbitrum, AAVE,… I think the reasons of centralisation is because either network fees are too expensive or that those protocols are multi-chain so it’s easier to aggregate everything off-chain.

I discovered that factory DAOs (Aragon for exemple) are using a simple proxy contract that every DAOs point to.

It is indeed a smart way of doing things.

As I was lost in the internet I found really cool challenge instructions for a Starknet hackathon (Autumn-StarkNet-Hackathon) from ZKX team. I found it really promising and will follow this “white paper” to create my first Cairo 1.0 DAO program.

I created a little diagram to demonstrate the workflow
I created a little diagram to demonstrate the workflow

The goal is to create a factory of contracts pointing to a proxy, just as Aragon. I’m thinking of creating an API to call for creation of contracts.

But there is unknown points :

  • How to manage fees ?

    • It's possible to pay fees on behalf of the wallet deploying.

    • If they pay for fees, I need them to sign and send the tx, is it possible to deploy from an api ? Not with the metamask browser extension, but maybe I can open a qrcode when trying to deploy the contract.

  • How to keep it safe ?

    • Will not implement spam resistance, or maybe it’s built-in depending of the framework.

Apparently it’s not possible to connect a wallet from an API, WalletConnect npm package block any websocket opening if not from a browser (window check).

I’m wondering if this limitation is security oriented or something else.

Cairo 1.0

Found another Cairo 1.0 tutorial : https://www.argent.xyz/blog/getting-started-with-cairo-1.0/

It’s mostly presenting the Cairo language and how to compile it, as there is no deployment possible at the moment.

Little update on Cairo 1.0 integration :

StarkNet Mainnet : March 15 2023 StarkNet Testnet : March 8 2023 StarkNet Devnet : March 8 2023 Protostar : Feb 28 2023 Hardhat : Est. March 15 2023 starknet.js : March 8 2023

CopyDex :

Bugs fixed.

Copied trader’s moves and got +30% of my wallet out of it. It works pretty well for now.

The Sandbox :

I was curious about earning money from games for free, so it wanted to give it a try last month. I retrieved some $SAND I gained “playing” for four events, 12$ well gained lol. Most of the events are to promote things, there was a newspaper, Argentina football team, the walking dead,… Not really fun, but it’s pretty easy to do, you can even do something else like listen at some podcast…

NTFs :

I looked at a collection that every Starkware member seems to have, Everai Duo.

It’s funny how prices went from 0.1 to 0.19 ETH in 2 days. I consider buying one soon, waiting for the price to drop a little.

Starknet Basecamp :

Still doing it, manage to cheat second exercice. Now I have to create a L1 contract but never coded any solidity so I’m struggling a little. Hopefully I can finish next week. I also need to do this week exercices 😅. It’s easier, but it still takes time.

See you next week