Introduction
Getting started
Last Updated: October 24, 2024The ease of Python with the safety of Rust. Seahorse lets you write Solana programs in Python. It is a community-led project built on Anchor. Developers gain Python’s ease-of-use, while still having the same safety guarantees of every Rust program on the Solana chain. Low-level memory problems are handled by default, letting you worry about...
Installation
Last Updated: October 24, 2024Install Seahorse and get started with writing Solana programs! Dependencies Anchor Seahorse uses the Anchor framework to create Solana projects. Installation instructions here. You may also need to install Rust, Solana, and Yarn if you haven’t already. Rustfmt Seahorse uses rustfmt to help generate better-looking Rust code. Installation instructions here. Seahorse From your terminal run:...
Calculator: Your first Seahorse program
Last Updated: October 24, 2024Dip your toes in the water by writing a simple program in Seahorse. Full code here. Initializing the project From your terminal: This should initialize a new project directory called calculator. Open it up and you should see something like this: Your code will go under the programs_py folder in calculator.py. The other directories are...
The Seahorse community
Last Updated: October 24, 2024Be sure to check out Seahorse’s community and community-made projects! Official Seahorse links: Community tutorials and resources: