β‘Backend
TypeScript
TypeScriptThanks to Turbin3's transpiler Poseiden, you can now write smart contracts in Typescript.
Rust
Rust Rust is the primarily programming language used to develop Programs on Solana. Native Rust refers to writing Solana programs without using frameworks like Anchor. This approach provides developers with direct control over their Solana programs. However, it requires more manual setup and boilerplate code compared to using the Anchor.
βAnchor
If you decide to go the rust way, it is recommended to start your journey with the Anchor framework.
Anchor can help you write safe programs because it includes lots of checks that you would have to implement manually.
Seahorse (Python)
Seahorse (Python)There are also various community driven efforts to enable writing on-chain programs using other languages, including Python
via Seahorse (that acts as a wrapper the Rust based Anchor framework)
C/C++
C/C++Although very limited, you can still build abstract Solana programs.
Example programs #
You can also explore the Program Examples for examples of on-chain programs.
Last updated
Was this helpful?