Skip to content

This is a web3 project in which users can upload links to their favorite sports GIFs. This project was built with Buildspace on the Solana blockchain. The NFT certificate I received as proof of completing this project can be viewed here: https://opensea.io/assets/matic/0x3CD266509D127d0Eac42f4474F57D0526804b44e/2987?force_update=true

Notifications You must be signed in to change notification settings

apoorvkwatra99/sports-gif-portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sports GIF Portal

The project can be viewed here: https://sports-gif-portal.apoorvk.repl.co/

This Buildspace project runs on the Solana Devnet. A Phantom wallet with some Solana on this dev network is all that is needed to test it out! Once a user clicks the link, they can connect their Phantom wallet and then send in GIFs of their favorite sports moments to be stored through the contract. These GIFs can be seen by anyone who connects their wallet, and they each have a "Submitted by" field associated with them.

Backend

The backend folder is where all the smart contract code lives. programs/solanagifs/src/lib.rs contains the program solanagifs which has the functions start_stuff_off and add_gif. There are also accounts such as GifStruct and BaseAccount which contain data for the contract to use. The tests/solanagifs.js file was mainly used for testing.

Frontend

The frontend folder contains all the code written on Replit. It builds out the actual web page that is linked at the top of this file and calls the contract in the backend. src/App.js contains most of the code written here.

About

This is a web3 project in which users can upload links to their favorite sports GIFs. This project was built with Buildspace on the Solana blockchain. The NFT certificate I received as proof of completing this project can be viewed here: https://opensea.io/assets/matic/0x3CD266509D127d0Eac42f4474F57D0526804b44e/2987?force_update=true

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published