mitegab / Blockc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockchain Challenge

Description

The Blockchain Challenge project comprises five small tasks aimed at providing hands-on experience in blockchain development and decentralized application (DApp) creation. Each task focuses on a specific aspect of blockchain technology, enabling you to gain practical knowledge and skills in this exciting field.

Tasks

Task 1: Wallet Connection

Description: Implement wallet connection to interact with blockchain networks securely.

Requirements:

  • Choose a blockchain platform (e.g., Ethereum, Binance Smart Chain).
  • Integrate a wallet connection library (e.g., MetaMask, Trust Wallet).
  • Allow users to connect and disconnect their wallets.
  • Display wallet balances and addresses.

Task 2: Uploading JPEG File and Minting it as NFT

Description: Enable users to upload JPEG files and mint them as NFTs (Non-Fungible Tokens) on the chosen blockchain.

Requirements:

  • Implement a file upload feature for JPEG images.
  • Create a smart contract (e.g., ERC-721) to represent NFTs.
  • Mint NFTs with unique properties from the uploaded images.
  • Store NFT metadata (e.g., image URL, title, description) on the blockchain.

Task 3: List the Minted NFT in OpenSea Marketplace

Description: Integrate with a blockchain marketplace like OpenSea to list and display the minted NFTs.

Requirements:

  • Connect your application to the OpenSea marketplace API.
  • List the minted NFTs for sale on OpenSea.
  • Enable users to view detailed information about each NFT.
  • Implement basic trading features such as buying and selling NFTs.

Task 4: Create a Token Gated Access

Description: Implement token-based access control to restrict certain features or content to users who hold specific tokens or NFTs.

Requirements:

  • Define a set of features or content that require token-based access.
  • Create a smart contract to manage access tokens.
  • Implement access control logic to grant or deny access based on token ownership.

Task 5: Build a Simple DEX (Decentralized Exchange)

Description: Develop a simple decentralized exchange (DEX) for peer-to-peer cryptocurrency trading.

Requirements:

  • Implement order book functionality for limit and market orders.
  • Enable users to create and fill orders.
  • Support common trading pairs (e.g., ETH/DAI).
  • Integrate a decentralized blockchain network for trade settlement.

Getting Started

For each task, detailed instructions and requirements are provided within the respective task folder. Ensure you have the necessary development environment, blockchain platform, and libraries set up as specified in each task's README.

Contributing

Contributions to this project are welcome. If you'd like to contribute to a specific task or suggest improvements, please follow these steps:

  1. Fork the repository on GitHub.
  2. Clone your fork locally.
  3. Create a new branch for your task or feature.
  4. Make your changes and commit them with clear commit messages.
  5. Push your changes to your fork on GitHub.
  6. Create a pull request to the original repository.

License

This project is open-source and licensed under the MIT License. You are free to use, modify, and distribute it according to the terms of the license.


Thank you for participating in the Blockchain Challenge! This project will provide you with valuable experience in blockchain development and DApp creation. Good luck with your tasks!

About


Languages

Language:JavaScript 84.7%Language:Solidity 13.5%Language:CSS 1.8%