GithubHelp home page GithubHelp logo

blockchain-project-cytech's Introduction

Description:

This project is a Decentralized Application (DApp) allowing users to create Pokemon NFTs then vote for their favorite one created by other users. Each participant will be allowed to cast a single vote for their preferred Pokemon.

To run the frontend app:

  1. Go into the /frontend folder in the terminal (cmd)
  2. Run the following command npm install
  3. Run npm start

Tools:

  • SmartPy
  • React
  • Temple Wallet (ERROR while implementing the code to link the project with Temple)
  • Metamask (Trying to use a snap of the Tezos Blockchain on Metamask to connect the wallet)

Libraries:

  • Taquito library: allows us to interact with the smart contract deployed on the blockchain
  • Beacon Wallet: allows us to connect and interact with whatever wallet we’re using

RQ:

To make things more simple, the smart contract is already deployed outside the project, we then just call it and interact with it using its address and the taquito library. You can find its code in ./contract

Things to improve / Functions to be added:

  • Completing the Temple Wallet connection
  • Connecting the app to IPFS (Pinata) to store the NFTs metadata (exp image)
  • Implementing the FA2 standard instead of hard coding everything in the NFT smart contract from scratch
  • Adding a time limit for voting
  • Announcing that the time for voting is up
  • Announcing a winner
  • ...

Some Screenshots:

  • Creating the smart contracts NFT smart contract and Vote smart contract

NFTContract

VoteContract

  • Testing the Vote Smart contract:

Runningthesmartcontract

Runningthesmartcontract2

Runningthesmartcontract3

Runningthesmartcontract4

  • Trying to deploy the Vote smart contract (SmartPy ERROR!!)

deployingthesmartcontract

deployingthesmartcontract2

  • Creating a Temple wallet account:

templewallet

UI screenshots:

app-page1

CreatinganNFT

app-page-2

added-wallet-connect

Trying to implement Authentication to the app on the Tezos Blockchain using the Beacon wallet (ERROR) :

TezosWalletIntegrationError

Testing connection with Metamask (connection to the wallet working but not on the Tezos Blockchain) :

connecting-wallet

blockchain-project-cytech's People

Contributors

ayed-oukhay avatar

Stargazers

Mohamed Aziz Bouaouina avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.