/buy-me-a-glass

Platform to create a micro page like Buy Me A Coffee on-chain and receive SOL directly in your wallet

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Buy Me A Glass

Anyone can create their micro page of their profile on Buy Me A Glass. It's a simple way to share your profile with others. When user creates a new profile it's data is stored on-chain using smart contract written in Rust using Anchor. This data will remain on-chain permanently, no-one is able to modify the data.

image

How to create your profile?

Create a profile by entering your name, description, and profile picture by visiting https://buy-me-a-glass.vercel.app/create. You can also add your social media links. After creating your profile, you will get your own customized link. Anyone can see your profile by just visiting the generated URL i.e. https://buy-me-a-glass.vercel.app/[username]

Starting Page Ending Page
Screenshot 2023-03-06 at 10 05 14 PM Screenshot 2023-03-06 at 10 05 29 PM

How to view your profile?

While creating your profile, you have entered username so you can access the profile by visiting https://buy-me-a-glass.vercel.app/username. For example, if your username is vrajdesai then you can access your profile by visiting https://buy-me-a-glass.vercel.app/vrajdesai.

image

Setup Instructions

Prerequisites

Install Node.js and npm. You can download Node.js from here. User also need to download phantom wallet create their profile and recieve funds in SOL

Installation

Clone the repository and install the dependencies.

git clone https://github.com/vrajdesai78/buy-me-a-glass
cd buy-me-a-glass

Install the dependencies.

npm install or yarn install

Running the app

npm run dev or yarn dev

Installing Phantom Wallet

You can install Phantom Wallet from here