coral-xyz / anchor-book

The Anchor Book
https://book.anchor-lang.com
Apache License 2.0
97 stars 59 forks source link

add an appendix chapter (below the line where the `Reference Links` are) for rust types and rust types -> ts types conversion #39

Closed paul-schaaf closed 2 years ago

paul-schaaf commented 2 years ago

u64 -> anchor.BN u8 -> Number etc.

paul-schaaf commented 2 years ago

the chapter can also include the rust types that anchor currently supports.

e.g. we support struct variants in enums but no not tuple variants