HY 羊山羊 | Sanctum Profile Banner
HY 羊山羊 | Sanctum Profile
HY 羊山羊 | Sanctum

@datascraper69

Followers
2,340
Following
1,064
Media
151
Statuses
971

cofounder & buidler @sanctumso | member @superteamsg

Joined November 2019
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@datascraper69
HY 羊山羊 | Sanctum
6 months
@mrgnalt If I had a nickel for every time someone named Frank in the solana ecosystem turned out to be a snake oil salesman, I'd have two nickels. Which isn't a lot, but it's weird that it happened twice
2
2
46
@datascraper69
HY 羊山羊 | Sanctum
1 year
4027 stSOL to 4296 jitoSOL at 0 price impact. Truly an OPOS moment of all time
Tweet media one
4
5
35
@datascraper69
HY 羊山羊 | Sanctum
10 months
Calling all @solana devs: we've recently published 3 tiny but powerful open source rust crates to here at @sanctumso !
2
5
17
@datascraper69
HY 羊山羊 | Sanctum
6 months
Dont move to singapore, the covid variants here are fucked up
Tweet media one
11
0
15
@datascraper69
HY 羊山羊 | Sanctum
2 years
“solita, light of my life…” Introducing solores, a CLI tool for generating rust SDKs from solana programs’ IDL json files (🧵1/9)
Tweet media one
1
2
11
@datascraper69
HY 羊山羊 | Sanctum
7 months
what if stSOL is the next memecoin? - supply can only decrease - symbol of ethereum defeat on solana
4
1
10
@datascraper69
HY 羊山羊 | Sanctum
11 months
When you use a non-EVM chain, you deny North Korea of the EVM contract exploit expertise theyve built up over a decade
2
0
11
@datascraper69
HY 羊山羊 | Sanctum
2 years
Thank you @Scallop_io @solendprotocol , very cool!
Tweet media one
3
0
9
@datascraper69
HY 羊山羊 | Sanctum
6 months
I stepped on human shit twice in nyc and had explosive diarrhea every other day while in the us I land in sg and immediately catch the covid-flu variant thats been going around
5
0
9
@datascraper69
HY 羊山羊 | Sanctum
9 months
STOP USING BORSH
Tweet media one
1
0
7
@datascraper69
HY 羊山羊 | Sanctum
1 year
Prepare to hold your color
@solblaze_org
🔥🪂 SolBlaze.org | Stake with us!
1 year
Please make sure your bSOL is either in your wallet or in a supported DeFi protocol. All DeFi integrations have been added to the snapshot script. It was a difficult process, but no bSOL holder will be left behind! Continuing to do further testing before taking the snapshot 🫡
Tweet media one
19
29
126
1
1
7
@datascraper69
HY 羊山羊 | Sanctum
6 months
Tweet media one
0
0
8
@datascraper69
HY 羊山羊 | Sanctum
1 year
Are you a solana dapp frontend dev? Are you tired of sending 100kb of @solana /web3.js to your clients just for tx signing functionality? Are you sick of dealing with cjs issues and just want to support modern browsers? Do you wish to break free from the tyranny of @reactjs ?
2
0
8
@datascraper69
HY 羊山羊 | Sanctum
9 months
@ngundotra or at least why cant labs be sane and just maintain one vers of borsh for the entire solana / spl workspace
@blockiosaurus
🪷Blockiosaurus🪷🦾
9 months
Bytemuck
2
0
6
1
0
6
@datascraper69
HY 羊山羊 | Sanctum
10 months
i wanna talk more about slumlord's design. i think its the most deliciously simple onchain program we've ever designed and it fully makes use of some less well-known properties of the SVM runtime to achieve its goals 🧵👇
@sanctumso
sanctum ☁️
10 months
3/ Slumlord is a zero-fee flash loan program that anyone can use to temporarily pay for an ephemeral account's rent. We've built upon the model pioneered by @dumbcontract2 and made our own improvements. What could you do with it? To start, if you don't hold enough SOL to
Tweet media one
1
1
6
1
1
8
@datascraper69
HY 羊山羊 | Sanctum
10 months
Just added some proptest utils to sanctum-solana-test-utils. If yall ever need to generate arbitrary pubkeys, token accounts, mints, stake accounts, or clock sysvars for proptests, be sure to enable the proptest and corresponding program features when importing
Tweet media one
0
0
6
@datascraper69
HY 羊山羊 | Sanctum
2 years
Trying to include a solana program dependency built on older versions of @anchorlang but can't because all previous releases were yanked from ? You can...
Tweet media one
1
0
6
@datascraper69
HY 羊山羊 | Sanctum
8 months
Gonna be at @mtndao tomorrow, who else is there?
3
2
7
@datascraper69
HY 羊山羊 | Sanctum
6 months
@jump_firedancer please save us from this rust bullshit
Tweet media one
1
0
6
@datascraper69
HY 羊山羊 | Sanctum
10 months
@solanafm this is the greatest explorer feature ever!!!
Tweet media one
1
1
4
@datascraper69
HY 羊山羊 | Sanctum
3 years
its free real estate
0
0
4
@datascraper69
HY 羊山羊 | Sanctum
6 months
do not use @flydotio what an absolute piece of shit
2
0
4
@datascraper69
HY 羊山羊 | Sanctum
1 year
@armaniferrante @AND__SO @solana Reproduced and confirmed:
1
0
4
@datascraper69
HY 羊山羊 | Sanctum
2 years
Thanks for having me @hackerhouses ! Am grateful for the opportunity to share what i know In case yall missed it, im putting in a plug for our new stake insights telegram bot here:
Tweet media one
2
0
4
@datascraper69
HY 羊山羊 | Sanctum
2 years
@the_high_key @SoceanFinance @0xF812 from what I gathered it's a new common standard for apps - as long as your app implements the xNFT standard, users can discover and use it within systems that follow that standard such as
1
0
4
@datascraper69
HY 羊山羊 | Sanctum
7 months
Theres some motherfucker FLiPggWYQyKVTULFWMQjAk26JfK5XRCajfyTmD5weaZ7 trying to write lock as many accounts as possible every block by sending 0 sol to all of them. This you, @Flipgg_ ? Example tx:
1
0
5
@datascraper69
HY 羊山羊 | Sanctum
1 year
@0xSoju throwback to
@armaniferrante
Armani Ferrante 🎒
2 years
If you have @anchorlang programs on Solana mainnet, please upgrade to the latest v0.24.2 release and read this thread.
52
195
381
1
0
5
@datascraper69
HY 羊山羊 | Sanctum
10 months
We are putting out some early stage test utils that allow you to easily create test token accounts and provide traits for method call chaining on ProgramTest and BanksClient among other things:
@buffalu__
buffalu
10 months
if you're starting out in anchor, don't waste your time writing typescript tests. use solana-program-test. it's much, much better and faster. @marginfi repo is a great example of how to do this:
14
19
153
0
0
4
@datascraper69
HY 羊山羊 | Sanctum
1 year
@Enigma_Soul01 @ThePrimeagen What about array.sort() defaulting to lexical even for numbers? Or the fact that the language has 2 different “nullish” types? Or the other language defects and confusions that those 1 million eslint rules try to protect you from?
2
0
4
@datascraper69
HY 羊山羊 | Sanctum
10 months
@0xMert_ “Your mother was a hamster and your father smelt of elderberries” @aeyakovenko
0
0
5
@datascraper69
HY 羊山羊 | Sanctum
1 year
It's 2023 why do i still find myself having to run this stupid script for @phantom private key exports?
Tweet media one
3
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
glints, drinks, mints Come on down to @droog amsterdam for a magical afternoon!
@Pathfinders__
Pathfinders🍃
1 year
Our Storybook Mint starts today at HORIZONS 2023. 📗 🧵👇
Tweet media one
10
18
49
0
2
4
@datascraper69
HY 羊山羊 | Sanctum
2 years
can we make a suzhugcb DAO to crowdfund 35 mil to buy it?
@sanctumintern
카리나
2 years
@cc_wonnt we gotta get a move on it 😩
0
0
1
1
0
4
@datascraper69
HY 羊山羊 | Sanctum
1 year
@Arthur_0x @SimkinStepan @SquadsProtocol @fusewallet do you mind sharing which mpc wallets do funds usually use? Also, are there any other requirements? For e.g. the dapp has to be a WalletConnect verified service etc
7
0
2
@datascraper69
HY 羊山羊 | Sanctum
2 years
... you can use [patch] in Cargo.toml to pull anchor from github instead. Find out more about dependency overriding here in the rustdocs:
Tweet media one
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
hear me out: IDL-first solana programming
Tweet media one
1
0
4
@datascraper69
HY 羊山羊 | Sanctum
1 year
@jacobdotsol @redacted_noah Do you use any tools for that?
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
you can create hot potato accounts on @solana by exploiting rent-exempt minimum requirements
1
1
3
@datascraper69
HY 羊山羊 | Sanctum
10 months
I just realized the reason why ive been in such a good mood lately isnt because of number go up but its because i havent had to write any js/ts in a month
2
0
4
@datascraper69
HY 羊山羊 | Sanctum
9 months
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
10 months
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
just spent the whole day figuring out how to do a compile-time sorted static lookup table in rust. How was your weekend?
3
0
4
@datascraper69
HY 羊山羊 | Sanctum
2 years
Carlos lopes pavillon: headlines Pateo da gale: tech Teatro capitolio: community, bd
1
0
4
@datascraper69
HY 羊山羊 | Sanctum
11 months
Amsterdam is like seattle with fewer hobos
0
0
4
@datascraper69
HY 羊山羊 | Sanctum
6 months
is it fish or animal or bird?
Tweet media one
@sanctumso
sanctum ☁️
6 months
wat is a wonderland
Tweet media one
71
44
426
0
0
5
@datascraper69
HY 羊山羊 | Sanctum
9 months
@samvwaal Yes. Yes. Yes. Most of the time you really only need pubkey and the basic crypto stuff like signing and pda computation. No borsh and no usage of libraries below 1.0. Im sick of compiling all this zk crap when i dont even use any of it
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
@soceanintern @el33th4xor every L1 I try gets fudded shortly after - try SOL, network goes down - try ALGO, tinyman gets hacked - try FTM, andre cronje quits - try LUNA, you know the rest - try KDA, miners stop working - try AVAX, ... which L1 should I try next?
1
0
4
@datascraper69
HY 羊山羊 | Sanctum
9 months
@CavemanLoverBoy think you’ll be interested in this
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
ctfmovement: spent more time debugging aptos dev tools than doing the challenges
0
0
4
@datascraper69
HY 羊山羊 | Sanctum
1 year
You can also deposit your native stake accounts into stake pools without deactivating them to start liquid staking immediately 👀
Tweet media one
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
We hope that fellow solana devs will find solores useful and enjoy using it. From all of us @SoceanLabs : happy hacking! And from me personally: apologies in advance for any bugs you may run into (🧵9/9)
0
0
2
@datascraper69
HY 羊山羊 | Sanctum
1 year
happening now
@MeteoraAG
Meteora
1 year
1/ Set your calendars, for tomorrow we'll be doing our LST Deep Dive with a massive lineup! Guests @buffalu__ @macbrennan @_Cerba @BrandonTucker @y2kappa @sno_mis , @0xFA2 and brains from @unstakeit , @fib_finance Super hosts @0xMert_ @hellochow Spaces:
Tweet media one
2
10
37
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
Here's <wallet-standard-list>: 200 lines of js (including types and comments) that defines the simplest custom element (Web Components) for rendering a "connect wallet" button for all detected wallet-standard wallets
1
1
4
@datascraper69
HY 羊山羊 | Sanctum
10 months
Wait till they hear about how every @anchorlang program account stores 8 bytes of data solely to mark its type
@crispheaney
lil perp👾
10 months
and you’re bearsish sol tokenomics anon?
1
1
14
1
0
4
@datascraper69
HY 羊山羊 | Sanctum
10 months
wake up babe, new proc-macro just dropped
Tweet media one
3
0
4
@datascraper69
HY 羊山羊 | Sanctum
10 months
2. Next up, we have . A collection of account field getter traits that allow you to write generic functions that work both on-chain on AccountInfos and off-chain on Accounts
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
9 months
@ngundotra @NeftWorld Fine, metadata-pointer + token-metadata extensions together*
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
10 months
In case yall missed the thread, I handwrote IDLs for the token, associated-token, system, and stake programs so that yall can have nice anchor-lang-dependency-free instruction generation and CPI interfaces at
@datascraper69
HY 羊山羊 | Sanctum
10 months
> handwrites an IDL for your solana program > refuses to elaborate > leaves
0
0
0
0
0
2
@datascraper69
HY 羊山羊 | Sanctum
2 years
As promised, I’ll be sharing about my experience with the MoveCTF challenges. Apologies for the delay, it’s been a crazy 2 weeks. Now that things have died down a little, let’s go 👇🧵
1
0
2
@datascraper69
HY 羊山羊 | Sanctum
6 months
@Henry_E__ @dj_d_sol Imo the core of your program’s functionality should reside in the sdk crate so that its available for use both offchain and onchain and the program should just be thin glue that puts everything together
2
0
3
@datascraper69
HY 羊山羊 | Sanctum
10 months
1. First up, we have . If you're building a rust server or application, this crate provides several newtypes that implements de/serialization of common solana types into human-readable / json-suitable formats
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
i poor
Tweet media one
0
0
2
@datascraper69
HY 羊山羊 | Sanctum
9 months
Rewrite solana-program and solana-sdk
Tweet media one
@samvwaal
Metafrost
9 months
When I get this mad it's time to step away from the computer for a while and make some bread pudding or something. 😅
6
0
28
1
1
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
@sol_idity 1. have each chunk reserve 64 bytes at the end of ix data that points to the previous uploaded chunk's tx signature, creating a linked list - but then retrieval will be sequential since you need to fetch the curr chunk to know the sig of the prev chunk
2
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
@HeyAndyS Hashmaps are usually not needed because the solana runtime itself is a giant hashmap; Whats your hashmap key? Account pubkey? Simply use PDA[account pubkey] (maybe adding a fixed prefix/suffix to prevent collisions with other PDAs) and store the value at that address
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
9 months
@nixxholas > autist mode > "Sex in the club"
0
0
1
@datascraper69
HY 羊山羊 | Sanctum
1 year
You'll find a full working example in the repo's example/ folder. Look at this beauty. A full solana dapp that allows you to stake 1 SOL to @laine_sa_ and it fits in just 4 solana transactions (0.93kb HTML, 0.25kb CSS gzipped, 2.78 kb JS gzipped)
Tweet media one
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
This awoke some ancient memories
@0xWoah
drunk dev 🦀 DS
2 years
like l*x fr*dman i too will be doing a book a week challenge. unlike l*x i will be indulging only in literary greats
Tweet media one
1
6
70
0
0
2
@datascraper69
HY 羊山羊 | Sanctum
10 months
@aeyakovenko @CavemanLoverBoy I was trying to recall how to do u64::from_le_bytes() in C in order to deserialize instruction data and i realize i've forgotten how to 💀💀💀
0
0
1
@datascraper69
HY 羊山羊 | Sanctum
9 months
is the worst trait ever designed
2
0
3
@datascraper69
HY 羊山羊 | Sanctum
10 months
Connecting to @JupiterExchange 's swap API? Let sanctum-solana-serde deserialize the response for you:
Tweet media one
Tweet media two
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
11 months
@jacobdotsol @sol_idity This chad toly nft stores the entire image data and metadata in transaction logs. I would link the og thread if i could but i cant find it anymore
2
0
2
@datascraper69
HY 羊山羊 | Sanctum
10 months
@samvwaal @CavemanLoverBoy wait how long have you guys had this? Why have I not heard of this before or about the improvements to shank that basically makes it do the same stuff as solores
2
0
2
@datascraper69
HY 羊山羊 | Sanctum
11 months
@milliondotjs @reactjs What is the million logo supposed to be? All i see is the lower body of a purple person wearing a black thong with a puddle of purple piss below
0
0
2
@datascraper69
HY 羊山羊 | Sanctum
1 year
@jarxiao @nickfrosty Seems like base64 is embarrassingly parallel and much simpler - you need to do integer division in base58, so i would guess base64 to be faster in most if not all cases
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
@crispheaney does this meet the requirement?
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
That concludes the first challenge of the CTF. Stay tuned for the other 2 challenges!
1
0
2
@datascraper69
HY 羊山羊 | Sanctum
1 year
This was only made possible by the hard work of @steveluscher and @jordaaash on wallet-standard and all the various wallets that adopted it. Really looking forward to the web3.js rewrite and much much leaner web experiences on solana
0
0
2
@datascraper69
HY 羊山羊 | Sanctum
7 months
@metaproph3t Need to run your own validator to get that stake weighted qos
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
@CryptoPoetIAm @HeyAndyS @solblaze_org @solana_devs @CryptoPoetIAm spoiler: it doesn't work, have a whole thread where i go digging for why here:
@datascraper69
HY 羊山羊 | Sanctum
1 year
@HeyAndyS @solblaze_org @solana_devs ive been nerdsniped, gonna look into this later. This smells like a runtime bug
1
0
2
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
9 months
solana: the runtime only has a 32KB bump heap, so use it wisely also solana: makes you allocate 2 Vecs whenever you create an Instruction struct
Tweet media one
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
6 months
@Henry_E__ @dj_d_sol > passing variables around inside the contract functions is a pain thats one of the reasons why i no longer use anchor > the more disparate the logic the harder it is to audit yeah that's something unfortunate from this layout that we've realized. Although if you think about
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
@edgarpavlovsky Also, I never understood why they came up with the whole Mobile Wallet Adapter spec instead of just using WalletConnect
0
0
1
@datascraper69
HY 羊山羊 | Sanctum
2 years
Missed out on 300 bucks because i was a few seconds slower on the check-in than nightly labs. Very sadge
@MoveBit_
MoveBit
2 years
🚩CTF MOVEment 2022 is Now Officially Over! ❤️Thank You for Playing! 🏆Final Positions: 🥇Super Rookies 🥈owen 🥉Nightly Labs 👉
Tweet media one
Tweet media two
4
20
61
2
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
@0xrwu Does this count?
@sol_idity
sol_idity | Sphere ⚪️
1 year
I just minted the first compressed NFT that *technically* has all of its metadata (incl. the image) stored on the Solana ledger. The metadata + image is ~100kb and the NFT costs < 0.001 SOL to mint. How does this work + GitHub repo, a 🧵
Tweet media one
21
40
214
1
0
2
@datascraper69
HY 羊山羊 | Sanctum
1 year
lmao at first glance I thought the image was the one about the eth merge at first. On second thought, it's actually hilarious how fitting it is
@QuinnyPig
Corey "👻IAM Fails Open!🙀" Quinn
1 year
We made it--happy Friday!
Tweet media one
27
420
4K
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
For starters, the examples folder could use a lot more idl examples and tests. Right now there’s only one for anchor ( @unstakeit ) and one for shank ( @metaplex token metadata program) (🧵8/9)
Tweet media one
1
0
1
@datascraper69
HY 羊山羊 | Sanctum
6 months
@jacobdotsol @aeyakovenko @jacobvcreech you're probably already doing it but just to confirm: are you using a consistent buffer keypair with --buffer so that you can resume your upload where you left off even if the solana program deploy command failed?
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
7 months
Lost my afternoon to this, ama
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
Was an absolute disasta ops-wise for me but was a fun one. Some highlights: - did not know any move prior, learnt it on a 3hr flight from Frankfurt to Lisbon by going through and then docs during the event. s/o to @themoveguy and @SuiNetwork for good docs
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
6 months
@Justin_Bons I’ve missed this Justin Bons
0
0
3
@datascraper69
HY 羊山羊 | Sanctum
2 years
Can we please name the phone’s operating system AnalOS?
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
10 months
system_instruction::transfer(&account_a, &account_b, lamports) Without looking at the function's documentation, can you tell which account is the recipient and which account is the sender?
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
1 year
@HeyAndyS @solblaze_org @solana_devs alright I've found it. The runtime checks if the fee_payer will fall below rent-exempt minimum after paying the tx fees before the tx is executed in load_and_execute_transactions() > load_accounts() (callsite: , defn: ) >
1
0
3
@datascraper69
HY 羊山羊 | Sanctum
7 months
@cavemanloverboy ayy its been merged, coming soon to 1.19 maybe?
1
0
2
@datascraper69
HY 羊山羊 | Sanctum
2 years
Tweet media one
2
0
2