FuelLabs/fuels-ts

Documentation for `B512`

Open

#3241 aperta il 2 ott 2024

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)TypeScript (1370 fork)batch import
docsgood first issue

Metriche repository

Star
 (43.186 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Summary

Reference

  • We could rename these to B512 from Bits512 to better align with the wider ecosystem.
  • We're missing documentation on how to form a B512, from two B256.
  • I think the example of just using the wallet public key could be changed to show how to form this with two b256.
  • We could also improve the Sway example with a more complex use-case, rather than just echoing out the response.
  • The Rust SDK are using the B512::from function (here) and I was unclear how to imitate this with the TS SDK. (this could be a feature request)

Guida contributor