Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.34 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.34 KB

Solana Programs 101 | Templates 🐥

This Repo contains a handful of Solana smart contracts (programs). Use them for inspiration / boilerplates and build more complex smart contracts upon them. The featured templares are:


  • ➡️ calculator
    a math calculator as a Rust smart contract
    ft. Anchor & Trdelnik

  • ➡️ ecoswap
    unidirectional 1:1 SOL → ECOV tokenswap
    Rust program & TypeScript client

  • ➡️ helloworld-counter
    print 'helloword' & emits log events
    built 100% in Rust

  • ➡️ pda
    create a Program Derived Account, aka PDA
    Rust program & TypeScript client

  • ➡️ soltransfer
    transfer SOL from wallet A to wallet B
    Rust program & TypeScript client

  • ➡️ spltransfer
    transfer SPL-tokens from wallet A to wallet B
    Rust program & TypeScript client

  • ➡️ tictactoe
    play tic-tac-toe game
    ft. Anchor & Trdelnik

⚠️ All the above programs are coded in Rust native, expect for calculator and tictactoe which were built with the Anchor framework.