Busy Sunday

It is the end of a long Sunday. I turned in fairly early last night and got a good start on the day. Both of the girls went to church, so Missus and I got to spend a nice day together here at the house. I cooked us breakfast and then we got on with our todo list. I cut the grass, cleaned the back ditch and finally put the hot tub cover straps screwed down, and also re-attached the lift bar. The two of us even had time to take a bubble bath together before the girls got back. It was pretty nice.

What was even nicer what that after the girls got back, they and their friends spent the next four hours outside playing. They didn’t even bother us that much. It was pretty amazing. We had dinner, watched a show, and now the two of them are passed out and I’ve got an hour to watch a show before turning in. I even managed to get in a workout first thing this morning.

I did a lot of my usually weekend yield-farming activities this morning, actually starting last night with a new OHM fork on Matic called Klima. This one is based around carbon credit capture, so it’ll be interesting to see how this one plays out. That makes three OHM projects, Olympus, Wonderland.money on AVAX, and Klima. We’ll see if we get lucky. I had some problems last night because I had all my MATIC tokens locked in Aave. I pulled a couple hundred dollars out and had staked it in QuickSwap, but then threw it into some WolfMoon project that failed. I had enough collateral that I could sell enough to pay off the loan and pull everything out, and into Klima it went. I don’t have time to be paying attention to all this stuff, to be honest, so I’d rather just set it and forget it.

This morning I checked my Perps. I was down overall, and only made about $50 in BTC that I threw on top with 10x leverage. I’ll have to make some tough decisions if funding continues to tank my margin. We’ll see how it goes.

I also spent some time moving my Alchemix pools around. I had some ETH-ALCX in Pickle, but I read that Tokemax has a single-side ALCX reactor now, so I moved everything there. It must have taken me a dozen transactions with all the approvals and swaps. Unstake and remove SLP from Pickle; sell pickle on Zapper; unstake SLP; unstake and claim ALCX and alUSD from Alchemix; approve and stake on Tokemax. It’s my IRA account so I wasn’t too worried about it, but something tells me I’m taking a loss on the whole exercise. As usual.

I spent the rest of the day working on Anchor stuff. I decided to try my hand at doing some stuff with Orca. Since Sunday’s is when I execute SAIAdao’s DCA strategy, I wanted to see what I could do there. Unfortunately, WSL doesn’t support USB devices and I was too lazy to go downstairs and work on it, so I did it manually and spent some time playing around with their API. I got some basic stuff working, but I’m nowhere near being able to clone something like SolFarm/Tulip. I’m just starting to get used to running Node scripts, and still trying to understand how to tie together TypeScript into everything. Let alone actually writing a program that does CPI calls to other programs.

I’ll get there though. It’s just a matter of time.

Long day

Yesterday was pretty busy.

I worked on the dex most of the day yesterday, and got pretty far along. I managed to pull the json fetcher into a React context and was able to pull that into the menu generator. I was tough to figure out, but it works. So now I just need to shore up the data map that we’re using so that the menu renders properly, then I get to move on to the token and market mints, which looks like it’s going to be an entirely different beast.

After I was done ‘working’ I wound up playing video games and staying up too late. There were tons of games that looked interesting but I didn’t want to buy anything with my unfinished collection being what it is, so I played a demo and went back through some games in my catalog until I was well and tired.

Today we took a road trip out to visit my dad. He invited us to breakfast at the VFW hall this morning, so we all trekked out there this morning. I don’t think the four of us have been out there together as a family, and I always get a sense of nostalgia driving around out there to places I haven’t been in some twenty years.

The breakfast itself was mediocre. Scrambled eggs, bacon, sausages, potatoes, and saltfish. The girls ate grits. It’s always good to see my dad, but I’m not sure why he wanted us to go there. Hell, I would have preferred Cracker Barrel myself. Still, it was good to get out.

We also managed to knock off a couple more things off our todo list while we were out there. We stopped by a farm store to pick up some pumpkins. They had a corn maze and farm animals: cows, a pig, a couple goats. The girls enjoyed it, I spent too much on pumpkins and even bought a pie that I have no intention eating. On the way back we stopped by the thrift store to unload some things and pick up some clothes for Elder. She got a good deal on one of those two-wheeled skateboard things called a RipStik.

After we got home Missus and I finished watching Dune, it was really good. I’m almost tempted to read the book again just so I can go and read some of the sequels. I think I have enough on my plate right now though, I’m still reading the Foundation series.

I spent the rest of the afternoon reading through Anchor’s example contracts, just reading and reading them, trying to understand just what’s going on with them. Some of them are really complicated and I’m trying to figure out which ones to look at first. It’s slow going, but I’m probably going to head back up there and pound out another hour of it, again and again until they make sense.

Right now we have about an hour before the girls need to go to bed, so I’m going to spend some more time with them, maybe play a card game or dominos.

Reacting

It’s the end of the week, yay! I don’t really have anything urgent to work on today, so I’m not quite sure whether I’m going to work on the DEX React dynamic menu stuff that I was working on or focus on Anchor development. Anchor is probably the most urgent, so I’ll probably start there and work on the React stuff this afternoon.

I had a pretty good day yesterday, I spent most of it digging into the aforementioned React code. We’re trying to make the StarAtlas.Exchange menu render dynamically off of the official NFT JSON feed. There’s a lot going on there though. First off we have to map the items, sorting them into the main itemTypes and categories. I did this using maps of maps of maps. Then we have to iterate through each level, rendering some AntD code at each level. It’s pretty ugly and took me all day to figure it out. The problem we’re having is that the top level submenu props are getting shared between all elements in the map, which is causing them to share the same mouse-over code. That’s where I finished up yesterday. Someone on the team figured out that if we pull the code into a parent component, where the menu gets rendered, that it doesn’t have the problem, but there’s got to be a way to separate the code to make it cleaner.

The next task is to pull the code that requests the NFT feed out of the menu generator. We need to use it for the token list as well, and there’s no point to having it called twice. So we’ll need to slap it into a context provider so that we can reuse the data in different places. Once we do that we should be able to do all sort of wonderful things like pull item details such as pictures on the individual market pages.

As far as Anchor goes, I went through the tutorials for the second time. Reading it makes sense, writing… well, I haven’t attempted that yet. Just knowing how to deploy these things and write scripts that can be used to interact with them is going to be enough for today. Since I’m done with the tutorials, the first thing I want to do is go through the existing examples and see what I can use. There’s a vesting contract that I’d like to extend. The way it works now is just one token address for one recipient, but I want to see if I can extend it to provide multiple token allocations for all SAIAdao members.

Sixty-six thousand

And nine-hundred and ninety-nine dollars

Well, BTC smashed the ATH yesterday. Per usual, I didn’t get much done. I managed to get through the PaulX Solana tutorial and had a call with the founder of Collab.Land, but I was totally ADHD with the charts and Twitter. Wound up getting a bit too sauced and stayed up till 1:30AM watching Squid Game. This morning I’m rekt. Took Younger to the bus stop then came back and went to bed for another hour and a half.

I’m going to work on the serum-dex-ui this morning. I got the token mints pulled out of the serum module, and have the browser pulling the json feed from Galaxy, now I just need to pass the data to a few other modules for the actual rendering. I feel pretty confident about it, so let’s see if I can churn this out in a couple hours.

The market, and by this I mean NYSE, opens in about five minutes. BTC pulled back since yesterday’s close, so we’ll see how much activity there is after the opening bell. If the ETF gets a lot of volume I suppose we’ll go back up. I actually sold a couple options on LedgerX yesterday, October 22 $68k for BTC and October 29 $5k for ETH. I’m only playing around with a couple contract as I don’t want to sell, but am just experimenting with covered calls. I think when I am ready to sell some BTC I’ll sell the futures, that way I can buy them back if there’s a pullback. Enough about that for now though, I want these contracts to expire first.

Non-ATH ATH

So the new Bitcoin futures ETF launched yesterday and did massive amounts of volume on the NYSE yesterday, propelling bitcoin up within less than a thousand dollar of it’s ATH. At least that’s the way it looked on the Coinbase chart. Others decided to celebrate regardless, as bitcoin closed at an all time daily high in several time zones, including here. There were also some exchanges that didn’t show the spike that the Coinbase chart had, and so yes, one could say that BTC hit a new record yesterday.

Me, I’m holding of the official celebration until we have a proper breakout above $64, 938 on Coinbase. I still had the unofficial celebration last night, as I had other reasons to celebrate as well. I’ll just have to tease for right now, as I don’t want to make any comments here until I have something official lined up. Let me just say it’s some potentially very good news.

I really didn’t get much work done yesterday, as I am wont to do when BTC starts making these moves up. Hopefully today I can get some work done. I plan on finishing the PaulX Solana tutorial, then move on to the Anchor version of it. Maybe I’ll mix things up by working on the DEX dynamic token list and menu generator. Either way, I’m going to stay focused on web3 stuff today.

I did manage to get the SAIAdao loot rebase proposal out for a governance vote, so that’s one less thing for me to worry about. Still, I’ve got do a lot more preparation for the actual migration, hence the focus on actual Solana program development. I’ve got to be able to read this stuff well and figure out how I can automate tasks that we need to do.

And I need to act fast. I want to have this deployment done before the Star Atlas mini-game launches “in a couple weeks” so I think that gives me four to six weeks.

The race is on.

Going the distance

Well, we made it to Tuesday. I got a lot of work done and took care of my health, and have a lot more to get into today.

First off, I wrote a seriously long update for SAIAdao yesterday. Took about four hours to put together. It’s gone over well so far. There are lots of things to figure out, but overall we’re ready to move forward with the rebase proposal, and that’s my first priority for this morning.

I also have a meeting later today with Jacob Floyd, the CTO of Star Atlas. The community leader, Santi, pulled me into a chat with Floyd on the subject of providing some sort of lending or scholarship model for the game. Basically we need to design a system or program that would allow asset owners to earn yield on them without having to play the game themselves. But we have to do this in such a way that the lender can’t transfer or sell the assets, they can only be used in the game itself.

I’m really excited about the meeting, and a lot of people are interested in the outcome as well. It should be really exciting.

I spent a good deal of time last night working though the PaulX Solana tutorial. It’s coming along. My IDE is really acting up though, and it’s causing me lots of problems. I wasted an hour farting around with it last night. Hopefully the support staff can help me out with that, otherwise I’m stuck to my downstairs laptop for the time being. Anyways, the point is that I’m getting more familiar with Solana programs and scripts. I’m not saying I’m going to start writing program code from scratch, but I’ve got a better handle on how things should work.

The Solana ecosystem is really ramping up. There’s a lot of activity in the various Discords, and actually devs are in high demand. I’m ramping up my skills and feel like things are going to move very fast.

I was in the standup meeting for the SourceCred dev meeting yesterday, and just listening to the way they talked was almost foreign. Maybe not what they said, but more like how they talked about things. They didn’t talk about time spent on features, but rather the complexity of them. They had grants from partners to work on certain features. It opened my mind just a crack to a new way of operating.

Pipeline

Missus just left the house with Elder, so I’m ready to get to work this morning. My primary task is the SAIAdao update, so I’m not going to spend too much time writing here today since this week is going to be a bit arduous due to the loot recalculation and other stuff we have going on. I need to save my strength.

Last night I made some good progress on the DEX, although I think I already mentioned being able to remove our reliance on the serum-ts package for our token lists and mint. It was just the first step, actually, in requiring static files to generate the site. After I published yesterday’s post, I was able to add a React component that is able to fetch the NFT list directly from Star Atlas, client side. I’ve been doing it server side using a small Express call and using it to output our json and TSX file. Now that we can do it in the browser we should be able to render all of those things in real time. This way, when Atlas Co. updates their NFT list, we’ll have it on our site with a simple refresh. No more rebuilds. It will be very nice, and then I’ll have less things to worry about during these launches.

Updating our indexing API will still require … something. We should be able to do something similar, but we’ll still need to do something like a yarn build and Unit restart in order for changes to take. But enough about that for now. One thing at a time.

Day trip

This morning was a bit rough, since Saturday night turned into a party.

I went right to work on the PaulX Solana escrow tutorial, and managed to get through a good deal of it after a bit of trouble last night with a Cargo dependency error. I typed out every line of code since I wanted to make sure I internalized everything that was going into it. I got through the program build steps, and was working on the deployment scripts when I stopped earlier.

I needed to get the kids out of the house, so I found a park that we hadn’t been too before and I took the girls and the neighbors there for a couple hours. It was huge, and they had a great time. There was also a nice garden with herbs and local plants and trees that was pretty nice, and there was also a visitors center with a scenic overlook on the river that we went to. It was very beautiful.

The kids are in bed right now or are getting ready, and I’m about to head back upstairs. One of the SAIAdao devs messaged me earlier and got me talking about our plans to remove the DEX token lists from the Serum module. Right now we’re injecting it into the node module during build time, but I want to pull it out of there entirely and use an export from our local library. If that works then we plan to move to a client-side script that will pull the data live in real time from the Star Atlas website. Then we won’t even half to rebuild the site when we need to do updates. I’ll be spectacular. We’ll still have to update our indexer in order for the charts to work, but that’s another thing I’ll worry about another time.

Vindication

It’s so nice to have gotten a good night’s sleep. Younger stayed in her bed again all night for the third day in a row and I am so excited what that means for Missus and our mental heath. It’s about time.

Speaking of Missus, she’s decided to grow with her nos, and has decided to step down from a couple of the various volunteer projects that she was working on. She stepped down from a professional industry legislative committee a few weeks ago — really they had no clue what they were doing anyways — and she’s also resigning as vice president of a regional labor council. Today the whole family is going across town to do a door-knocking lit drop shift and then she is officially done.

She’s telling everyone that it’s temporary, that she needs more time with the kids and now her mom’s sick and needs trips to and from doctor’s appointments, but I don’t really think she’ll go back to it. Things are going to change too fast.

Yesterday’s BTC run felt like validation for many people, myself included. It’s fun — and distracting — watching these moves up and realizing the freedom that’s attached to it. My Perp position is up more since April than I used to make in a year, not to mention the value of my spot holdings. It’s nuts.

I went to pick up Thai food last night, and the man behind the counter asked me how my week was doing. I was kind of taken aback because it’d been so long since a stranger asked me that. I told him that it was great, that it was hard to believe that I do what I do for a living, answering to no one. Then I left without tipping.

I decided this morning that I’m going to start working on the excellent Programming on Solana tutorial by PaulX. I’m going to work through the exercises and everything. Then I’m going to do the Anchor version of it that I saw floating around. Then I’m going to figure out how to make some contracts of my own. I need something that will let me distribute tokens to SAIAdao members. And I need lots of front end tools built that will let members claim those tokens. The multisig and governance modules all require knowledge of how to create instructions, and I need to be able to do that.

Girls are awake, time to go.

Cred

Oh man, I knew I was going to regret not writing a post this morning and here I am, 11PM and wanting nothing more than to go to bed. So just a quick note.

Bitcoin blew the roof off today. There are reports that an ETF is ready to go early next week and Twitter was just electric, I could barely get any work done.

I did manage to accomplish a few things. Spent some time trying to manage our serum-history indexers. I’d really like to get the front end behind some firewall or load balancer, so I’m trying to figure out how I can deploy it that doesn’t require me to manage a bunch of EC2 instances. Looks like we’ll be going to Elastic Beanstalk, but I’ve got to learn a bunch of stuff.

Dealt with a domain ownership issue the local Democratic party needed some help with. I think this is the last thing I need to do for them for the foreseeable future. Spent forty-five minutes trying to get through to a customer service rep who didn’t know how to do her job.

I asked a question at the Star Atlas town hall today and put CEO Michael Wagner’s feet to the fire about the schedule. He didn’t answer my question at all so I had to ask it like four times to get a non-answer out of him.

Perhaps the most fascinating thing that happened today was that I came across this article, Governance Mining – liquidity mining for human capital, it’s really brilliant. From there I went full steam into standing up a SourceCred instance and got it setup on Github Pages. It’s really interesting and I’m hoping to use it to distribute governance shares in the dao. SourceCred uses it to pay their team, so the grain that gets distributed is redeemable for a dollar, and they drop $100k a month to team members. It’s actually quite amazing and seems like it’s going to be a key piece of our governance moving forward. It’s got several plugins for GitHub, Discourse and Discord, and it builds an activity graph to figure out who’s got the most cred that week, and then drops tokens based on recent and and historical rankings. Here’s output that I generated today.

# Top Participants By Cred

| Description | Cred | % |
| --- | --- | --- |
| BCM---Dao-Launch-Control | 435.8 | 61.8% |
| -IA--GT---BULK--4-6couple-weeks- | 25.3 | 3.6% |
| ibeJD--SAIAdao | 17.5 | 2.5% |
| Slats | 16.5 | 2.3% |
| R3zk1n | 14.3 | 2.0% |
| Alex-Core | 13.5 | 1.9% |
| Tinman | 12.3 | 1.7% |
| yaawn | 11.6 | 1.6% |
| chriscrypto | 11.1 | 1.6% |
| Errantry | 11.1 | 1.6% |
| Rambulik | 10.6 | 1.5% |
| CLUB---Loid | 9.9 | 1.4% |
| Morpheus | 8.8 | 1.2% |
| archaeopteryx | 8.6 | 1.2% |
| Echo | 8.4 | 1.2% |
| Zanda-Wylah | 7.5 | 1.1% |
| Blockpal | 6.2 | 0.9% |
| sidequ35t | 4.9 | 0.7% |
| Kakan | 4.0 | 0.6% |
| vedd | 4.0 | 0.6% |