Skip to content

Commit

Permalink
Fix up spl-token docs (solana-labs#379)
Browse files Browse the repository at this point in the history
* Fixup spl-token docs

* Apply suggestions from code review

Co-authored-by: Michael Vines <[email protected]>

Co-authored-by: Michael Vines <[email protected]>
  • Loading branch information
CriesofCarrots and mvines authored Sep 2, 2020
1 parent 0637e35 commit 07dcf3a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/src/token.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ The Token Program's source is available on

The on-chain Token Program is written in Rust and available on crates.io as
[spl-token](https://docs.rs/spl-token). The program's [instruction interface
documentation](https://docs.rs/spl-token/2.0.1/spl_token/instruction/enum.TokenInstruction.html)
documentation](https://docs.rs/spl-token/2.0.3/spl_token/instruction/enum.TokenInstruction.html)
can also be found there.

Auto-generated C bindings are also available for the on-chain Token Program and
available
[here](https://github.com/solana-labs/solana-program-library/blob/master/token/inc/token.h)
[here](https://github.com/solana-labs/solana-program-library/blob/master/token/program/inc/token.h)

[Javascript
bindings](https://github.com/solana-labs/solana-program-library/blob/master/token/js/client/token.js)
Expand Down Expand Up @@ -254,6 +254,9 @@ These accounts have a few unique behaviors
- Burning is not supported
- When closing an Account the balance may be non-zero.

In spl-token v2, the Native Mint supply will always report 0, regardless of
how much SOL is currently wrapped.

### Rent-exemption

To ensure a reliable calculation of supply, a consistency valid Mint, and
Expand Down

0 comments on commit 07dcf3a

Please sign in to comment.