# SneakerGo
![SneakerGo Logo](assets/sneakergo-logo.png)
SneakerGo is a decentralized platform that leverages blockchain technology to enable users to buy, sell, and trade limited-edition sneakers in a secure and transparent manner. By integrating Web3 and smart contracts, SneakerGo creates a trustless environment for the sneaker community, ensuring authenticity, ownership verification, and seamless transactions.
## Table of Contents
- [Features](#features)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Smart Contracts](#smart-contracts)
- [Contributing](#contributing)
- [License](#license)
## Features
- Buy, sell, and trade limited-edition sneakers on a decentralized platform.
- Authenticate sneakers and verify ownership through blockchain technology.
- Transparent transaction history and user ratings.
- Provides a secure and trustless environment for sneaker enthusiasts.
- Offers verified listings from trusted sellers.
- Low fees compared to traditional secondary markets.
## How It Works
SneakerGO works as follows:
1. Sellers can list limited sneaker items for sale on the platform by providing details such as photos, condition, size, and asking price. These listings are recorded on the Polygon blockchain.
2. Buyers can browse the available listings on the platform and purchase items using MATIC tokens.
3. When a buyer purchases an item, the funds are held in escrow until the buyer confirms they have received the item as described.
4. Sellers ship the item to the buyer, and once the buyer confirms receipt and satisfaction, the funds held in escrow are released and distributed to the seller.
## Prerequisites
Before you get started, make sure you have the following:
- Node.js (v14.x or higher)
- npm (v7.x or higher)
- MetaMask browser extension
## Installation
1. Clone the repository:
```bash
git clone https://github.com/Web3Hackathons-Buidl/sneakergo.git
-
Navigate to the project directory:
cd sneakergo ```
-
Install the dependencies:
npm install ```
-
Start the local development server:
npm run start ```
-
Open your browser and navigate to
http://localhost:3000
. -
Connect your MetaMask wallet and start using SneakerGo!
SneakerGo's smart contracts are implemented in Solidity and deployed on the Ethereum blockchain. The main contracts are:
Sneaker.sol
: Represents a limited-edition sneaker with unique properties.SneakerMarket.sol
: Handles the buying, selling, and trading of sneakers.
For more information about smart contracts, refer to the Smart Contracts documentation.
We welcome contributions from the community. If you'd like to contribute to SneakerGo, please follow these steps:
- Fork the repository.
- Create a new branch with a descriptive name.
- Make your changes and commit them with a clear, concise message.
- Push your changes to your fork.
- Open a pull request in the original repository.
For more information, please read our Contributing Guide.
We are excited to introduce SneakerGo, a decentralized platform that revolutionizes the way limited-edition sneakers are bought, sold, and traded using blockchain technology. SneakerGo leverages Web3 and smart contracts to create a secure, transparent, and trustless environment for the sneaker community.
With SneakerGo, users can easily browse, authenticate, and purchase sneakers directly from sellers, ensuring authenticity and ownership verification through the power of blockchain. The platform also provides a transparent transaction history and user ratings, allowing buyers to make informed decisions.
One of the core features of SneakerGo is its decentralized marketplace, where sellers can list their limited-edition sneakers for sale. Each listing is recorded on the Polygon blockchain, ensuring transparency and immutability. Buyers can browse these listings and purchase items using MATIC tokens, creating a seamless and secure buying experience.
To ensure the safety of transactions, SneakerGo utilizes an escrow mechanism. When a buyer purchases an item, the funds are held in escrow until the buyer confirms the receipt and satisfaction of the item. This escrow feature adds an extra layer of security and trust to the platform.
SneakerGo aims to provide a secure and trustless environment for sneaker enthusiasts by offering verified listings from trusted sellers. By leveraging blockchain technology, the platform ensures that each sneaker's authenticity and ownership can be verified, mitigating the risks associated with counterfeit products.
In addition to the enhanced security and trust provided by SneakerGo, the platform also offers low fees compared to traditional secondary markets. This makes it more accessible and cost-effective for both buyers and sellers, encouraging more participation and fostering a vibrant sneaker community.
We invite you to explore SneakerGo and experience the future of sneaker trading. The platform's open-source nature allows contributions from the community, ensuring continuous improvement and innovation. Join us in revolutionizing the sneaker industry and creating a more secure and transparent marketplace.
SneakerCred utilizes ERC1155 to Manufature 'MyTeamCards', 'MyCareer', & Virtual Currency for Video Games such as 'NBA2K' series. The purpose of this project is to allow game users to be the custodians for their in-game Assets using their Wallet and also able to trade them on a decentralized exchange.
Tokenization of Sports Assets in Gaming Or “Tokenized In Game Assets” NBA2K NFT collectibles & Esport exchange Smart Contract
“This is for NBA2K Game participants to have the ability to Trade Sneakers in game for Boost Points in play making actions. *Ewing only has Nikes but can add Reeboks Under Armour- UI: in line up screen go to add a shoe, if only shows one brand… Go to your shoe collection Apply to player + Add More!
Application layer NFT Shoes +Boosts Points ERC 20 Tokens
“The players will be able to walk their created character into a virtual foot locker and shop for a new pair of kicks in the [Run the Neighborhood] (Game Mode)
Technology Full Stack Ethereum Development Solidity Smart Contract Architecture ERC 1155 Token Factory libraries “Inheritance” Making the player and object that has metadata Mapping the Struct to the Badges as an Index in storage Listing the player functionality as a String Attributes Player Position Points Badges Trade Value
Extract the players sneakers and the associated Boost Power of the shoes as a token class
Boost Points Player Badges
SneakerGo is released under the MIT License.
# sneakergo
Step 1: Use Cli to upload Assets. Create Sneaker Cards
Deploy separate Contracts for Each Asset in Sneaker collection: ERC1155 Edition
Const Heel.sol contract address =0x241f87E7112BCA7E919d4f1842f399995a0adbd8
Const Sole.sol contract address = 0xB2e01A55228D9b2c5a3DF14139372E1A4A122c05
Const Laces.sol contract address = 0x587412e3B7245ee58E1f0D07F3B9D3cD1418221A
Const Upper.sol contract address = 0x917685185174530C62d5Ad591d36BE85f3c18f3F
Const panels.sol contract address = 0xC2a576e8778AE79A60E3142DE210EBA8f85d6dcd
Const Vamp.sol contract address = 0x5B9012ea223A9C312132055b3F61bf4Ba8EFf9cF
Const Logo.sol contract address = 0x39F19F1343C738cE80414f1ef1b0d2134D300f6F
Const SerialNumber.sol contract address = 0x98d2f5ad4d39c1A688F05f4d42dC2FA78397DceA
Step 2: Deploy Marketplace to List Items to purchase Registry Index. Buy Listings on Sneaker Marketplace: Marketplace contract address on my chainlet:0x6dd68485d463B57BF4ad649D36c2c16DA50e2925
Step 3: Deploy contracts to Mint the 3D Sneaker Assets.
Step 4: Write a Sneakerbox Script. Create a sneakerPack and add the contract addresses to the sneaker Pack that ‘owns’ the sneakerBox sneakerbox: 0x2b046C5F2286FB6f9FEF3e7486E7FCF50b535056
Step 5: Use Unity to Render 3D Sneaker Assets using SDK to fetch the Data
-Download the Thirdweb Unity SDK package
-Import package via Assets in Unity
-File > Build Settings > Switch to platform WebGL
-Player Settings > Resolution Presentation (ThirdWeb)
-other settings > “uncheck” “AutoGraphics”
Assets create a C# script add createAssetBundle
>Build AssetBundles
>BringPrefab over into assets
>AssetBundle > TestBundle
>BuildassetBundles>Files => upload to IPFS URI
>Terminal npx thirdweb@latest upload ./testbundle
Npx thirdweb@latest create –templae 3d-asset-nft-script
Cd 3d-asset-nft-script
-replace -contract address
-replace IPFS URI
-replace private Key (Metamask)
If you try to add your custom chainlet to Thirdweb make sure that you:
Add https:// + rpc node + “..jsonrpc.sp1.sagarpc.io”
ex:https://sneakerhunt-1685370732045988-1.jsonrpc.sp1.sagarpc.io
Make sure you add your chainlet to “mainnet” on Metamask go to the left on settings and ensure you have the same chainID in the Network ID in Thirdweb “Add Custom Network” you should name it “yourchainletname+mainnet” for network type select Mainnet and add your rpc url from step 1. Along with Currency symbol and an Image if you have one* then click “Add Network”
Deploy your contracts: NFT Collection, ERC1155 Edition, Pack, Marketplace.
SneakerGO [Sample Game] is now on @DoraHacks! Read more about this project - its vision, team, product updates on: https://dorahacks.io/buidl/6545