Giter Site home page Giter Site logo

tweether's Introduction

Tweether

System requriements

Install blockchain simulator client Ganache-CLI like localhost running on default port 8545

  npm install -g ganache-cli

Once it's installed, you can check if it works by simply running the global ganache-cli command in a new terminal window:

  ganache-cli

You are now running a local Ethereum node with some (fake) wallets that you can send money from.

 mkdir Tweether
 cd Tweether
 npm init

Compiling our Solidity program

  • Node-based Solidity compiler called solc.
npm install solc --save
  • Web3.js is a JavaScript API that sends requests to the Ethereum blockchain (either the real one or your local one). It acts as the middleman between your frontend and your smart contracts
npm install web3 --save
  • run node index.js to deploy your smart contract.
npm install -g truffle

tweether's People

Contributors

tawseefnabi avatar

Stargazers

Jack Burrus avatar

Watchers

James Cloos avatar  avatar

tweether's Issues

create login page

Signup modal
When we click the "Create your account" button, we want a modal with a registration form to appear.

Authentication in Dapp

In our DApp however, we are storing the user info on the blockchain (more precisely, in the UserStorage contract), and not in our own private database. Signing a message will therefore not be enough. We will however use the same concept of associating an Ethereum address to a user profile.

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.