The unofficial Elixir package for interacting with the Solana Program Library.
Note that this README refers to the master branch of
solana_spl
, not the latest released version on Hex. See the documentation for the documentation of the version you're using.
Add solana_spl
to your list of dependencies in mix.exs
:
def deps do
[
{:solana_spl, "~> 0.1.0"}
]
end
TODO. For now, the solana
package docs contain
everything you need to know to use solana_spl
.
This library implements instructions and tests for the following programs:
- [x] Token Program:
Solana.SPL.Token
- [x] Associated Token Account
Program:
Solana.SPL.AssociatedToken
- [x] Token Swap Program:
Solana.SPL.TokenSwap
- [ ] Governance Program:
Solana.SPL.Governance