Phantom Wallet Authentication Example
Laravel & Solana ($SOL) Phantom wallet example built with Bootstrap, JQuery. This is a Web 3.0 app that connects to Phantom wallet and fetches publicKey and balance information.
Installation
cp .env.example .env
composer install
php artisan serve
Code Reading Guide
You don't really need Laravel knowledge, just take a look at the file below. You can simply put code in a plain HTML/js app.
The most important part is here https://github.com/solanacraft/laravel-phantom-wallet/blob/main/resources/views/home.blade.php
DEMO
You can watch the demo video on YouTube https://www.youtube.com/watch?v=DsyrJu0a0ZI
If you want to donate some SOL here is my wallet