Rubriques tendance
#
Bonk Eco continues to show strength amid $USELESS rally
#
Pump.fun to raise $1B token sale, traders speculating on airdrop
#
Boop.Fun leading the way with a new launchpad on Solana.
suite à mon dernier post sur le déballage des données de compte Solana en Rust, nous devons également faire de même du côté TypeScript.
Donc, j'ai créé un codec pour notre structure en utilisant solana/kit - gill — cela gère facilement le pack/unpack en utilisant le dernier SDK TypeScript de Solana.


10 juil., 00:16
after defining pdas in our Pinocchio programs, we need a simple and safe way to unpack raw solana account data on the client side into the structs we defined.
so, i usually implement a small trait in my sdk for each state that handles its deserialization cleanly and safely.

1,23K
Meilleurs
Classement
Favoris