diff --git a/docs/targets/solana.rst b/docs/targets/solana.rst index a4023aab97..ac395d0054 100644 --- a/docs/targets/solana.rst +++ b/docs/targets/solana.rst @@ -72,3 +72,17 @@ The contract can be used via the `@solana/solidity `_ and there are `some examples `_. There is also `solang's integration tests `_. + +Using spl-token +--------------- + +`spl-token `_ is the solana native way of creating tokens, minting, burning, transfering +and swapping tokens. We have created example of how to use spl-token from Solidity. This files should be imported, and +then added as a base contract to your contract. + +.. include:: ../../examples/spl_token.sol + :code: solidity + +There is an example in our integration tests of how this should be used, specified +`token.sol `_ and +`token.spec.ts `_. \ No newline at end of file