
Solana Dev | Live Looper | Video Blogger supporting @solana_devs | co-founder of @sol_recovery | member of @superteamDE https://nitter.cf/t.co/unYtcmvz4Y
Austria
Joined December 2010
- Tweets9.1K
- Following852
- Followers8.9K
- Likes11K
What's cooler than wearing a plastic badge that has your name printed on it?
Wearing a hardware badge that can display your name and run your applications!
Wanna know how to get one? π
π€ Made with AI
hey @solana_devs off-chain message signing is live. check it out: View article
Compiling Solana Programs with plain Rust, no extra fork needed!
That's the promise of the sbpf linker in v0.2.3
I checked how to do it and what the limitations are π
π€ Made with AI
Sometimes I wish I had an @anza_xyz T-shirt that I could wear...
hey @bw_solana , could you get me one?
I'm livestreaming the Alpenswitch...
join my watch party here:
youtube.com/live/-IOJ5sG7tSwβ¦
if you are watching my videos, you should also read @lorismatic 's comments on them! ;)
Replying to @HeyAndyS
Thanks for the deep dive Andy! Some feedback as usual. βΊοΈ
β There was some unnecessary `await` before instructions like `client.memo.instructions.addMemo`. Only some of these need to await because they do thing like computing the minimum balance for you (e.g. the `createMint` plan). Also best to use Promise.all to run these in parallel when possible.
β If you want to mix `Instructions` and `InstructionPlans` outside the `sendTransaction()` function, you can always combine them in one bigger `InstructionPlan` yourself. Something like `sequentialInstructionPlan([ixA, ixPlanB, ixC])`.
β Note on treeshakability: program plugins bring lots of convenience but the tradeoff is it may bundle code your app donβt actually need. If thatβs a concern for your app then itβs best to import these standalone helpers explicitly. Alternatively, you can use the program plugin for development/discovery and convert them into standalone imports before shipping to prod.
β There is a generated `package.json` file when you run `codama run js` for the first time that contains all the required dependencies so a `pnpm i` on the `clients/js` folder should have been enough.
Your final warning: make sure your apps don't break when @solana web3.js is going from v1->v3
Main things to fix:
- Numbers -> bigints
- Buffers -> Uint8Arrays
- sync stuff -> await async
plus you get compatibility with other solana program and codama packages π
π€ Made with AI















