Coder Social home page Coder Social logo

eco-projet-perso's Introduction

Projet individuel - Contrat intelligent : Système de vote

Le frontend n'est pas fonctionnel, pas le temps de le faire fonctionner

J'ai également ajouté des fonctionalités supplémentaires au contrat, il y a 3 méthodes supplémentaires.

Configuration

Pour pouvoir utiliser le projet, il faut effectuer les étapes suivantes :

npm install

Après avoir installé, exécutez le réseau de test de Hardhat :

npx hardhat node

Dans un nouveau terminal, allez dans le dossier racine du référentiel et exécutez ceci pour déployer votre contrat :

npx hardhat run scripts/deploy.js --network localhost

Finallement, nous pouvons exécuter le frontend avec : (le frontend n'est pas fonctionnel, pas le temps de le faire fonctionner)

cd frontend
npm install
npm start

Le contrat peut être déployé sur Metamask.

Tests

Les tests sont complétements fonctionnels, ils permettent de tester les fonctions du contrat et de vérifier que tout fonctionne correctement. Pour exécuter les tests, exécutez la commande suivante :

npx hardhat test

eco-projet-perso's People

Contributors

mawathilde 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.