andrei

89 posts

andrei banner
andrei

andrei

@andreisui

built dev tooling on @SuiNetwork starting on @Solana

Joined Nisan 2017
317 Following605 Followers
andrei
andrei@andreisui·
@8bitpenis this is cool . been looking for an OS FE on solana for a while
English
1
0
1
17
8bitpenis.sol
8bitpenis.sol@8bitpenis·
Day 10-12 of building an AMM. (repos in the next posts) Happy to say that this is the end of the journey, and it's been incredible. I even made a video so you can see the full functionality. Enjoy! Let me summarize what I've learnt by building this, if you're curious, read on. I learnt how constant product AMMs work (CPAMM). It's a great starting point for anyone getting into Solana development if you want to finally do something that's harder than just an escrow program. To understand why these work and how these work, the best resources today are Ethereum-based whitepapers, documentations or videos on youtube. It's so wild how many articles cover @Uniswap, and it's all open source too so you can examine it yourself if you want to. You will have to read some Solidity though, but it's pretty much just like JS or python. Easy. @Raydium, and @blueshift are also great for learning how a CPAMM works. Special shoutout to one of the raydium guys who commented their CPAMM repo under one of my posts, that helped a lot too! A lot of EVM is easily portable to Solana, if you understand both models (you only have to understand EVM surface level). Most of my time was actually spent researching, understanding the math behind it AMMs and NOT coding it. Coding it was relatively simple. For the frontend, I was using kit and pipeit/connectorkit from @stevensarmi. Steve (and @GuiBibeau) also gave me some good advice about approaching frontend so the whole page got redesigned to the point where I actually love how it looks (also cant wait to use framework kit so i dont have to install these libraries separately). It has some personality now, wow! For me, just generating a client automatically via codama made everything basically buttery smooth so I didn't have to write almost any lines of code by hand, Claude did the dirty work for me. I gave it the pipeit repo, made a skill from it and it could basically oneshot any Solana interaction without issues. I hate frontend, so this is huge for me, because it left me more time for what actually matters. Wouldn't recommend this approach for a production app (or at least not to this extent), but for me, it worked great. If your program is already secure (not that this is), the frontend can't mess it up too much, you know what I mean? Overall I rate this experience a 10/10. The response I got was flattering, the amount of DMs and support I received was amazing and surprising. You should definitely try building in public. Try shit and see what happens! If you're interested in doing anything with the repo, like making a PR, cloning it, forking, you're free to do so! There is no business value in doing a CPAMM, as they're not as efficient as the AMM primitives but they're the foundations of a lot of things, so for learning they're perfect. But for that reason, I would never really push this anywhere further than that.
8bitpenis.sol@8bitpenis

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!

English
14
2
54
3.5K
andrei retweeted
Sam Blackshear
Sam Blackshear@b1ackd0g·
Apparently Vitalik likes Move! (from ethereum-magicians.org/t/long-term-l1…) I think the idea of a RISC-V backend is a good one for Ethereum (which must support old EVM bytecode contracts). But if I were starting a new chain, I'd definitely still go with Move rather than trying to be multi-lang--so many of Sui's virtues come from having strongly typed objects as a common abstraction throughout the stack.
Sam Blackshear tweet media
English
25
67
330
45.3K
Dan
Dan@ADanmaigoro·
If you bought Sui at this price and still holding you are a legend
Dan tweet media
English
63
6
278
14.3K
andrei
andrei@andreisui·
@mert i'm smelling an altcoin season that is coming
English
0
0
0
24
mert
mert@mert·
XRP is now half of ETH's mcap and way above SOL's mcap mashallah
mert tweet media
English
100
9
338
28.8K
AzFlin 🌎
AzFlin 🌎@AzFlin·
Take the highest mindshare / PMF project and fork it 2 good devs could crank out a Kaito competitor MVP in a week I’d say
English
9
2
34
2.6K
andrei
andrei@andreisui·
@BL0CKRUNNER @b1ackd0g @b1ackd0g we'd like to have a call with you guys at the end of this month. We want to show you the progress we've made
English
0
0
1
38
Wara🦄
Wara🦄@0xWara·
if u're in the SUI trenches everyday and need access to my private tg drop a comment👇
Wara🦄 tweet media
English
303
22
273
19.9K
andrei retweeted
R🐽ter
R🐽ter@0xrooter·
Downtime is bullish, actually. Sui's downtime reminds me of Solana, which went down countless times in 2021-2022. Now Solana is king, so evidently downtime wasn't fatal. In fact, the many outages were arguably net positive in the long run, since they provided incredible exposure opportunities. Every Solana outage brought waves of new spectators, even becoming a meme. You can't pay for that kind of coverage. ("No such thing as bad press.") Going through downtime is painful, but it's a growing pain that all high performance blockchains go through. Many will learn about Move, Mysteceti, and Pilotfish for the first time today. And Sui will come out stronger on the other side.
English
22
22
212
12.2K
death
death@0xd34th·
I'm excited to announce that I’ve joined the @SuiFoundation as a Community Manager alongside @mosaicregressor and will be the DAO Steward for @SuiNSdapp (more on that later). If anyone has any feedback, questions, or would like to chat about anything, please reach out!
English
198
25
405
17.9K
Kostas Kryptos
Kostas Kryptos@kostascrypto·
Who would like to participate or contribute into an online Sui certification program? Working on that right now as many Unis are already interested and prepared some initial content for our lectures. It should include Sui Move, design patterns and best practices, standards, cryptography, SDKs and apis, web3 innovation, AI on chain, example contracts, games and dapps, trading, consensus, account abstraction, randomness, identity, ecosystem tools, Kiosk, assignments, multiple choice exams, visualization and wallets, data analysis, translation of that material. Reply here if interested.
English
45
19
106
9.1K
thouny
thouny@BL0CKRUNNER·
Kraken becomes @accountdottech After winning Sui Overflow with our Kraken Multisig prototype we spent a lot of time reworking the protocol and iterating on the long term vision. In the weeks ahead, I'll be posting regular content to introduce you to this brand new kind of protocol because I don't expect anyone to read the docs, which are not even written anyway 🙃 Today I'll be presenting a high level overview of what is account(.)tech and why we're building it, let's dive in! Sui has been lacking a proper Multisig since mainnet start, 1.5y ago. Because of the object-centric model, developers have tons of different objects to manage and if you don't have an in-house solution, it's quite a mess, I can tell you that. And it's similar for creators who have to handle Kiosks, TreasuryCap, policies, etc. This is why we initially built a @multisig-like platform. But Sui is in a different league compared to Solana, so why copy-pasting protocols like so many do? We can push the boundaries even more. account(.)tech is not a simple Multisig, it is the ultimate account abstraction protocol providing highly modular and extensible Smart Accounts on Sui. Modular because Smart Accounts are infinitely configurable. Imagine a multi-sig with custom weights and roles, a coin or nft-governed DAO, or any innovative organization structure you can dream up. Extensible because developers can adapt them for specific needs, and build secure and user-friendly dapps and protocols on top of it. The Smart Accounts will support all standard Sui objects, in a much more intuitive way than with current wallets. Aligning with Sui's philosophy, we will provide a robust foundation that anyone can easily leverage. However, users won't be constrained by our design choices – the protocol will remain open for unlimited innovation. (this is not the logo)
thouny tweet media
English
9
3
35
3.2K
thouny
thouny@BL0CKRUNNER·
So it seems like the ponzi didn't last long lol Sry I wasted your money and mine Hope you didn't think I was a KOL
thouny@BL0CKRUNNER

FULL GUIDE TO GET STARTED WITH THE FIRST FULLY ON-CHAIN PLAY TO EARN Or how I'm farming $40/d on @SuiNetwork with @DungeonMove in alpha version to anticipate for the complete game to be released. Let's dive in 👇 First, if you don't know why this game is special, go read my latest post in highlights. This is will give you a quick introduction, you can also go through their docs which are technical but easy to understand. What to expect As explained in my previous post, the game is still very light, players only have the possibility to trade characters (which are called Residents) and farm the in-game token $DGG. But it gives us the opportunity to get ready for the next releases! So what is planned next? In the docs we can already see multiple features that are yet to be published. Equipments and Rebirth have no description so we can only speculate on it, even if the former one seems straightforward. Then there is PVP. We can imagine that $DGG will have a utility here, maybe to enter battles. Skills will also be given to Residents for this game mode. Nothing more in the docs, but their twitter account leaked something earlier. With PVP, there should also be a PVE mode where $DGG will be used to enter sessions! How to prepare Since the 30k Residents and the token are live on Sui mainnet, we can already position ourselves and start farming and grow our crew. Many strategies are available, but it basically consists in arbitraging between the different prices and rewards for each rarity. The goal is to farm a maximum $DGG for the lowest entry price. With current prices it is possible to break even in 1-2 months, which means 600-1200% APR. Residents Residents have different stats. The most important are the level, rarity and rating. - rating: rewards_per_hour * 100 (divide by 100 and multiply per 24 to get rewards per day) - rarity: defines base rating and rating growth rate - level: 1-30, increases rating by a % according to the rarity (see below) Strategies Now that you get the idea, we can think of some strategies. Let's start with the cheapest one. Sweeping the floor to buy the common (N) residents at level 1 would provide you with a rating of ~1200 * nr or 12 DGG/hour/resident. If you sweep 30 of them for 57 SUI (47usd), you'd farm 360 dgg/h or 8640 dgg/d which is equal to 1usd/day. In this case you break even in 1.5 month. Another option is to get the highest reward/cost ratio. Here are the average rating for the rarest Residents at level 30. - SR: 65,000 - SSR: 130,000 - UR: 440,000 Upgrading to level 30 costs 500k DGG (= 60usd). Knowing this we can calculate the cost to reward ratio (numbers are in usd). - SR: 15 (purchase) + 60 (upgrade) -> 1.8 (usd/d) - SSR: 123 (purchase) + 60 (upgrade) -> 3.6 (usd/d) - UR: 984 (purchase) + 60 (upgrade) -> 12.6 (usd/d) 1 UR at level 30 costs 1024usd total. To get the same rewards with SSRs (3.5) it would costs 640usd. And with SRs (7), it would be about 525. So at current prices and buying only the floor Residents, it is more interesting to buy SRs and level them up to 30 or buy 360 Ns at level 1 (to earn as much as a maxxed UR). Personally I took a bit of all strategies to get best entry price but prices are varying a lot so I would recommend DCA'ing into the categories of your choice. Devs are shipping fast so I'm kinda hoping we can enjoy the game for a little while 🤞 Disclaimer: even though I'm not paid to shill the game (unfortunately), I have a bag so I'm biased. I like these kind of games more than gambling, that's why I'm invested. Also, note that the sustainability of the in-game token is not guaranteed and will highly depend on the next iterations.

English
11
0
17
4.2K
West
West@WestClintwood·
I’m thrilled to announce that I’ve joined @SuiNetwork as an Ambassador! My first introduction to Sui was last October, but at that time, I was exploring many different chains and Web3 projects. It wasn’t until January that I decided to focus my efforts on Sui and dive deeper into the ecosystem. I started engaging with NFT projects like @FuddiesNFT, @UnchainedOnSui, and @LegacyDSL, and I found a genuine and supportive community unlike any other I’ve encountered in crypto. The welcoming atmosphere allowed me to connect with developers, founders, and enthusiasts, giving me a deeper understanding of the technology and culture behind Sui. I’ve always gravitated towards an educator role, and many in the spaces and groups I frequent know me as someone who’s always ready to discuss Sui, as well as other topics like trading strategies, market order book dynamics, Web3 security, and hardware wallets. I’m excited to contribute further to the Sui ecosystem and explore more about Web3 gaming while sharing insights and content on these topics. It's my estimation that @Mysten_Labs & @SuiNetwork are building the infrastructure that the next generation of internet experiences will be built on, and just about everyone will use the chain whether they know it or not. Projects like @WalrusProtocol, @DeepBookonSui, and @SuiNSdapp are going to blow your mind. Follow me so we can learn and experience it together.
English
87
8
309
15.1K
andrei retweeted
jose
jose@josemvcerqueira·
Building on @SuiNetwork ? Looking for support from the Foundation? Then apply to the Hydropower Sui Accelerator 🌊🌊 The program is entirely virtual and Equity-free 🥵. Read more at: suifoundation.notion.site/Hydropower-Sui…
English
2
5
34
1.9K
HealthyDegen
HealthyDegen@healthydege·
Linkedin Post of the Day: Previously I worked as a janitor inside Mysten Labs. My main work entailed collecting `dropped` objects from the blockchain that people just left on the floor. These fools never knew that they were supposed to consume these objects and put them in the trash. I would find `events` scattered all over the floor, but unfortunately never found any dropped coins because of the pesky compiler. I'd like to thank @b1ackd0g for giving me the opportunity to work as garbage collector at Mysten and I learned a lot! I'd like to announce I have taken on the role of Chief Intern at @doubleup_app where my main responsibility is shit posting on twitter. My new boss @EmanAbio told me that I would be fired if I don't grow my socials to 5k+ followers by end of the year, so please give me a follow. Thank you for reading my post - Chief Intern, Ex - Janitor
English
17
5
50
5.8K