Skip to main content

21 docs tagged with "rust"

View all tags

A Guide to Stake-weighted Quality of Service on Solana

Stake-weighed QoS (Quality-of-Service) is an implementation feature which, when enabled, allows leaders (block producers) to identify and prioritize transactions proxied through a staked validator as an additional sybil resistance mechanism.

Cash App on Solana

Solana developer quickstart guide to learn how to create a React Native mobile app that is both Android and iOS compatible. This app will mimic a cash app experience but run on the Solana blockchain, showcasing that web3 products can have the same user experience as web2 products. To build this, we will need to write an Anchor program, integrate the Solana Name Service SDK, and integrate Solana pay.

Getting Started with the Anchor Framework

This guide provides a basic overview of the Anchor framework. Anchor is a very popular Rust framework for building Solana programs (known as 'smart contracts' on other chains) that removes boilerplate, provides secure defaults, and builds client programs automatically.

How to create a CRUD dApp on Solana

Solana developer quickstart guide to learn how to create a basic CRUD dApp on the Solana blockchain with a simple journal program and interact with the program via a UI.

How to Optimize Compute Usage on Solana

Minimizing the amount of compute a program uses is critical both for the performance and cost of executing transactions. This guide will show you how to optimize compute usage in your programs on Solana.

Program Examples

A list of Solana program examples in different languages and frameworks, which can help you learn and use as reference for your own projects.

Storing SOL in a PDA

Using PDAs, you can reward SOL to players playing your game. Learn how to reward SOL from a PDA when players find chests in this game.