@Doge_e3e
@monsterzerososa
When I park I usually disassemble my entire vehicle and take it with me so that no part gets stolen. Then, when I get back to the parking lot I simply reassemble the vehicle again to use it.
Very Fast Vanity Program IDs and Token Mints on Solana
Let's dive right in. Vanity addresses are usually grinded via a ed25519 keygen program. The schematic of the tight loop in an ed25519 keypair grinder is usually:
1) call to rng (cheap)
2) curve25519 arithmetic (most
On-chain bytes are precious. In Rust, the bool type takes up a whole byte despite needing only one bit to be represented. ( See )
I wrote a proc macro that ergonomically gets/sets individual bits in a u8, allowing devs to pack up to 8 bools into one u8.
catchy headline: 17470 token transfers per second achieved on testnet. better read on anon.
In january I took the time to do a deep dive on writing efficient solana programs. To put it into practice, I wrote a token program that is zerocopy and no_alloc from end to end. It’s
Excited to announce I'll be working on this full time
The world's first >2-dimensional limit order system
I have very high conviction that this is an experiment worth running, as it brings improvements to the capital & operational efficiency of market making on-chain
OPOS
Welcome to Starport (prev Alexandria), the world's first multi-asset limit order station.
Starport revolutionizes trade on-chain by unifying liquidity and providing more expressive and efficient order types previously not possible. Let's dive in!
Introducing, a Zipper for your
@xNFT_Backpack
: a stupidly simple primitive intended to prevent particular forms of MEV and rugs.
It's an instruction that checks that the token balances passed into a previous instruction are at least a specified amount.
It's been a while since I've touch some good ol solana/anchor and wanted to try to see if I could write a contract with tests 100% in Rust.
Presenting token cave, a simple anti-wrench attack & hot wallet protection solution.
🧵 1/6 As a developer that is very passionate about high performance systems and crypto, I figured I should make a thread explaining why you should NOT choose Solana for your startup or company.
ran into this old tweet. ~2.5 years ago i committed to a pivot into software engineering. never thought i’d leave academia. looking back, i see the following:
1) implementing, augmenting, or optimizing several distributed systems and 3 consensus mechanisms
2) handful of sizable
I just wrote up SIMD-0130: Dynamic Block Limits
This proposal introduces dynamic adjustments to the compute unit (CU) limit of Solana blocks based on network utilization at the end of each epoch. If the average block utilization exceeds 75%, the CU limit will increase by 20%; if
Wrote some fun code this evening. Finished const-crypto crate. Lots of goodies relevant to solana devs.
everything is const and #[no_std].
shoutout to
@Lou_Kamades
and
@OffchainLabs
for their indirect contributions (bs58, sha3)
1/ Today, we're excited to announce Temporal⏳ -
@temporal_xyz
, a web3-native research & development firm.
The full announcement is in S_bstack, but here's the tldr🧵
i feel like a gigabrain rn i just wrote a smart contract with 32 instructions in like a dozen lines modulo imports and boilerplate. There's one point where I use a quadruply nested macro.
I got a dm some time ago for help with an issue in a solana program. Dev was hitting default heap limit doing hefty CPIs that made four copies of the same data
#Anchor
. I covered this topic before in a video.
One of the copies can be removed with a better invoke fn. Here it is.
I was working offline and couldn't use any explorer to inspect tx logs easily.
Made a cli explorer with minimal features. Probably also useful for terminal maxis. Not sure if something like this exists already. If not, will OS and add more features over time.
the default solana program entrypoint function that’s on virtually every mainnet program uses up to 8000 cus when you give it 32 unique accounts — before a single line of business logic
absolutely embarrassing.
use solana-nostd-entrypoint
It turns out we can do better – asset transfer using ~1k CU.
This is using a custom entrypoint (nitrate) based on
@cavemanloverboy
's solana-nostd-entrypoint plus a few tweaks. The savings in compute are correlated with the number of accounts that the instruction receives – more
🐻🐻🐻
✅ High capacity hard drive attached to Solana
✅ Support for large data archives on Solana
✅ 30x onchain compression on Solana
w/ a bit more glass chewing this becomes up to 200,000x reduction of onchain representation (10MB -> 50B) for archival data & stale accounts
TLDR: Shipping a little dev tool soon. Shoutout
@mtnDAO
I'm new to
@anchorlang
. I saw this project wanted to understand what this program did. I dl'd the source code, started parsing through it and decided it was taking too long just to get a brief overview of the instructions.
I am not seeing enough attention on
@official_fabric
.
Look at what Robinhood did to trading volume on NASDAQ/NYSE names.
$FAB is Robinhood 2.0: International, Forex, Commodities (and more) Edition.
Why? 1/5
pixel has "okay google"
ios has "hey siri"
what's the saga gonna use for the voice prompt? haha.
remember it's gotta be >=3 syllables to be good for AI.
"hey toly" would be fun
@aeyakovenko
Story time. At 14 years old, my father ventured to this country alone with nothing but the clothes on his back and 3 days of food. He would work hard to make a few dollars an hour, and he would save up money and pay a $20 fee at western union to send his mother some money back
takeaways ethdenver:
1. everyone is building on the evm because it’s the access point to the multichain future.
it’s won.
2. anyone who cares about consumer use cases cares about arweave.
3. there are still no consumer use cases for crypto, and nobody seems to care
@AlexHormozi
Bad take. Anyone “successful” at 20 is extremely lucky to have emotionally matured or have learned something important from a parent, mentor, book, or traumatic life lesson before literally having a full brain
Well
#Solana
, it may be late... but we weren't going to leave our terminals until $SHDW Drive was live on Mainnet... and now... IT'S HERE 🚀🚀
- The Shadow Drive CLI and supporting information/docs live in our gitbook (where all GenGo/SHDW info will live)
This weekend’s project was fun. Collaborated with
@_nighthawk69_
and
@knox_trades
on this one.
Pixel art is odd for many reasons; one of these fun and odd properties is that it can be represented with a tiny number of bytes.
This may be too big an ask, but if y'all get me to 250 followers I will give away this
@solexwatchco
NFT (2000 supply, mental health charity focus, immaculate vibes).
Get me to 500 and I will give out a 2nd.
To enter:
✅ Like
✅ Retweet
✅ Follow
took some time to write a const pda deriver using a const impl of edwards point decompression.
can now derive addresses in const and attach them in an sdk (with zero additional dependencies :P)
🗡🗡🗡 iykyk 🗡🗡🗡
I will say it again for those that weren’t paying attention. Hedera is homeomorphic to Solana with multiple PoH generators. Asynchronous, leaderless, BFT consensus with multiple concurrent block producers. Turbine is built in. Get kbow on it stat.
There are a few pieces of code that shipped with the new shadow nft standard that I think are kind of cool
1) const bs58
2) zerocopy-str
3) zerocopy-bitslice
I've been eyeing the
@solsunsets
collection for a while. There are some really sick pieces in the collection with erupting volcanoes and rockets, but this one touched my soul for some unknown reason.
client implementation aside, imagine how unusable solana would be if every program used 10x more cus.
Now, imagine the opposite...
Incentivize efficient programs and accurate compute unit requests.
step 1 before anything like SIMD-110 imo. 1.18 is the beginning of this.
@el33th4xor
absolutely terrible take lol. lone gunman hypothesis is quite reasonable in america given rates of school/mall/festival shootings imo lol. I’ve personally gone to festivals with unfortunate endings.
This means that any
@SolanaMBS
NFT can be represented fully on-chain and uploaded in a single tx to an account along with any metadata!
As a PoC, we deployed a testnet contract and uploaded
@knoxtrades
’ monkey (with permission).
I chose Sdrive not just bc of GG/Solana but bc I had a big file and thought to myself: What is the fastest/easiest/cheapest way to upload a big file and get a URL?
For small files there’s free solns. But for this I just had to sign a tx, and drag and drop. No name/cc/cvv/zip
Ngl… when
@CavemanLoverBoy
showed what he had uploaded I geeked out so hard. Now I’m slightly obsessed with this…
$SHDW Drive as a vehicle for scientific advancement would be so personally fulfilling I can’t even begin to describe.
my gf had this dream that I hooked up a cake (a physical baked good (?)) to Solana and made it programmable (???) so long as >2/3s of the cake remained
literally byzantine fault tolerant cake
it's march 2023 and I still can't send SOL + mutiple SPL tokens in a single transaction natively in wallet
it's been my little litmus test since 2021 for progress and the wallet space has failed it horribly.
But maybe I'm just unaware of a wallet out there that supports this?
It’s been an incredible experience working with GenesysGo go so far because every single person on the team has an impressive level of mastery at something (except for
@tracy_codes
who is good at everything somehow) and it’s all complementary. I feel like Ant-Man on the Avengers
It's been a hell of a week...
@CavemanLoverBoy
deploys his first user-face smart contract and
@khaIilnafis
/
@tracy_codes
drop a CLI & SDK they built from the ground up.
Seriously... the more this team comes together, the more excited I get for the future of
#Solana
and $SHDW
Yesterday I finally sat down and finished my new kdtree lib
- O(1) mem + zero storage overhead
- zero copy deser
- fast short circuit periodic boundary query
- noncontiguous k query support
- Bindings for C/Julia/Python
- 10x speedup over scipy build
every day, wake up and make solana a few bps faster or more efficient.
in 2-5 years we will indubitably and unanimously be the best L1 on the planet. it won’t even be close.
i wanna put out like 3 fun code tweets in the next 2-3 weeks related to:
1) program id grinder
2) Arc being slow
3) efficient locking and alternatives
here’s a peek at the first:
i wrote a program id grinder which, with gpu + fd_bs58 + secret optimization that’s been in front
inspired by solana’s admin rpc service, I wrote a dead simple ipc server library i needed for something. fully nonblocking without a dedicated server thread. just a handle to poll & process periodically.
can implement custom api in minutes. with 17 deps, compiles in seconds.
.
@cavemanloverboy
and I are starting to experiment with TPU QOS algorithms to defeat network congestion.
FugJZ has two, somewhat simple firewall rules.
Can anybody guess what they are?