https://github.com/solana-developers/solana-depin-examples
Examples on how to connect Solana to physical devices
https://github.com/solana-developers/solana-depin-examples
Last synced: about 1 year ago
JSON representation
Examples on how to connect Solana to physical devices
- Host: GitHub
- URL: https://github.com/solana-developers/solana-depin-examples
- Owner: solana-developers
- Created: 2023-08-07T09:39:41.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T05:21:27.000Z (about 1 year ago)
- Last Synced: 2025-03-31T06:24:13.223Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://solana-depin-examples-led.vercel.app
- Size: 1.04 MB
- Stars: 40
- Watchers: 4
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solana DePin Examples
This repository contains examples of how to use Solana to talk to hardware.
DePin stands for decentralized physical infrastructure and is a term which describes the use of blockchain technology to manage physical infrastructure.
## Examples
### [Led-Switch](./led-switch/README.md)
This example shows how to use Solana Pay transaction requests to control a LED connected to a Raspberry Pi.
It comes with a full walkthrough from start to finish. Setting up the Raspberry Pi, deploying a Solana program, creating the QR codes to change the account and finally running the client code to control the LED.
[Twitter Video](https://twitter.com/solana_devs/status/1691563319457403301)
### [Solana-bar](./solana-bar/README.md)
This example shows how to use Solana Pay transaction requests to sell liquids decentralized using a 5V pump.
It comes with a full walkthrough from start to finish. Hardware requirements, how to attach the cables and the full source code.
Take the liquid dispenser to the beach or a party and start selling holy water to your friends.
[Twitter Video](https://twitter.com/solana_devs/status/1697023233789145421)
### [Helium-Lorawan-Sensor-Chest](./helium-lorawan-chest/README.md)
This example shows how to use the helium network, which is powered by Solana, to create a chest which is only lootable via Solana Pay Transaction requests when the chest is physically open.
It comes with a whole walkthrough of how to setup the sensor, create the api and the solana pay transaction requests.
[Twitter Video](https://x.com/solana_devs/status/1707043184373637411)
### [Rust based esp32 Solana tracker with display](https://github.com/Mantistc/esp32-ssd1306-solana)
Show Solana real-time data in a little ssd1306 display using the microcontroller esp32 to manage wifi, http request and more.
[Twitter Video](https://x.com/lich01_/status/1899208452167102621)
### [Unruggable ESP32 Solana Hardware Signer](https://github.com/hogyzen12/unruggable-rust-esp32)
This example demonstrates how to build a low-cost hardware wallet using an ESP32 microcontroller that can securely sign Solana transactions. The ESP32 generates and stores a private key, requiring physical button confirmation for transaction signing. The project includes firmware for the ESP32 (written in Rust) and companion clis in Rust, Go for creating and submitting transactions.
[Twitter Video](https://x.com/bill_papas_12/status/1903308186498596979)
### [Write Sensor Data on chain](https://x.com/priyansh_ptl18/status/1903940356070424825)
This example shows how to write sensor data to the chain using the Solana Pay transaction request. It reads the sensor data and saves it into an anchor program:
https://github.com/priyanshpatel18/aeroscan
https://github.com/priyanshpatel18/aeroscan-esp32
https://github.com/priyanshpatel18/aeroscan-ws
### [Solana slot LED-Display](https://github.com/solana-developers/solana-depin-examples/tree/main/Raspberry-LED-display)
This example shows use an LED Display to show the current Solana slot using a Raspberry Pi and a I2C - SSD1306.