Loading video...

Video Failed to Load

Go Home

I ran the latest code pushed to GitHub. Thanks to the contributors’ dedicated work, most of the main functions of the CAW protocol seem to be working. NFT minting, deposits, withdrawals, and batch processing also appear to be functioning. As Gilgamesh mentioned, the frontend design will be refined moving...

41,262 views • 9 months ago •via X (Twitter)

0 Comments

No comments available

Comments from the original post will appear here

Related Videos

Day 8-9 of building an AMM. (repos in the next post) I added the protocol fee + the swap fees to LPs yesterday. It's the same as Uniswap v2, which is 0.25% (goes to LP) + 0.05% (goes to protocol) per swap. It was actually not that easy, as you want to spend the least amount of gas (CUs) possible, and you have to compound the fees into the pool. But I figured it out and in the end, it hopefully works. I don't transfer the fee out of the pool on every swap for the protocol, fees just go to the liquidity pool's LP token associated token account on deposits/withdraws, which I'll be able to withdraw later. (instruction still needs to be implemented) I still haven't written a test in Mollusk, and instead I started working on the frontend, for reason I won't tell you now... but just let me tell you that there may be good thing coming out of this whole AMM project besides just the AMM. So we'll put the tests on hold, for now. About the frontend... well yeah. This is the part I hate the most. I don't like frontend development. I'm not really good at it, and I can just get by fine, especially with Claude. If vibecoding was invented for something, it was frontend. God bless Claude for being a React beast. All I really did with the frontend today was initilize it from the solana template, and make the basic interface without hooking it up to the program. So everything you see is just mock data, I have attached a small little video on how it looks now. The recorder is laggy for some reason, so bear with me, but the actual site is fine, for the most part. (and also the video quality is really shitty on X, idk why) Just FYI, I'm gonna be taking a break from building this AMM for a couple days, and there will be less updates for a bit - I have exams soon for university and I have to study, and I also have to work on some other stuff. Maybe I'll stick to these updates to once a week? We'll see, I like doing it a lot so I might end up working anyways lmfaooooo. Your patience & attention is always appreciated, and thank you for following along!

8bitpenis.sol

60,037 views • 5 months ago