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.
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
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
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