Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.13 KB

Readme.md

File metadata and controls

31 lines (19 loc) · 1.13 KB

Poseidon

Now you can write solana programs in Typescript

poseidon is a transpiler that helps you to convert your Typescript solana programs to anchor. Which is especially convenient for people who are just getting started with solana.

Installation

Make sure you have Rust and Cargo installed, then run the following command

Clone the repository:

cargo install --git https://github.com/Turbin3/poseidon

Usage

poseidon compile --input "input.ts" --output "output.rs"

Tutorial & Examples

Go to docs/src/tutorial.md to learn how to write your first Solana program in TypeScript using Poseidon and Anchor!

For more examples, check out the examples directory. You’ll find examples of vote, vault, escrow, and favorites programs in both TypeScript and the corresponding Rust programs transpiled by Poseidon.