GithubHelp home page GithubHelp logo

grayoj / dribble Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 1.57 MB

This is a Blockchain contract app built with solidity, ethersjs, nodejs, and the hardhart library. Connects to metamask as well.

Solidity 3.55% JavaScript 82.85% HTML 9.94% CSS 3.66%
blockchain ethereum-contract etherjs solidity

dribble's Introduction

Dribble - Hardtjs, Etherjs, Metamask Project


About

Dribble is my first blockchain, web 3.0 application that you could use to deposit ethereum into a wallet using Meta Mask. This project utilises a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts. This project uses React JS for the client-side, NodeJS on the backend, with Hardhart js, Etherjs and Solidity.

Requirements

  1. Hardhat Js
  2. Metamask
  3. Ethers js
  4. Node Js
  5. Yarn (I used Yarn, not NPM this time.)
  6. Solidity
  7. Tailwind CSS
  8. React JS1

Installation

First, clone this repository

Ensure you have a nodejs server running on your machine.

Get Metamask. Download the Chrome Extension

Once it's done, proceed to the next step.

Proceed, then add a network. Localhost 8584

Done.

yarn add

To add and install the following dependencies

hardhat js
solidity
    

Run the following tasks in the root directory

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

On running npx hardhat node Greeter, for solidity should be deployed to a public account. Mine looks like this: 0x5FbDB2315678afecb367f032d93F642f64180aa3

Now cd into client-side as this contains our react app. Hit yarn add to install the react app dependencies. Including Tailwindcss.

yarn run start

This should compile all assets and start the react app on a localhost:3000

You will receive a pop-up.

Select and next. It should connect.

Great. Now, our dribble page should have loaded.

Now you can send ETH into your local wallet!


Gerald Maduabuchi. MIT License

dribble's People

Stargazers

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