Giter VIP home page Giter VIP logo

learn-blockchain-app's Introduction

logo

Introduction

Learn blockchain is an app which helps people to learn the concept of block chain by building a cryptocurrency.

It contains follow functinalities:

  • Quizzes to help understand the blockchain
  • User friendly UI
  • Reward!
  • Store your store in the ethereum network forever!

Story function

Story is a place that you can share your story and stored in the block chain network forever. And you can also follow others by entering their wallet address.

Installation

First step

you first need to download the Flutter framework and setup everything that Flutter requires.

And second add update your vscode configuration like this

 {
            "name": "learn_blockchain",
            "request": "launch",
            "type": "dart",
            "args": ["--no-sound-null-safety"]
 },

This will disable the null-safety check for your app.

Second step

Create a secrets.dart file under lib/model folder. And have the content like this:

final apiUrl = "http://0.0.0.0:8545";
final contractStr = "some string";

Third step

Download node.js on your local computer

Fourth step

Download Ganache on your computer for local ethereum development

Fifth step

Deploy the smart contract locally using this file

Final step

Install dependencies by typing flutter pub get in the main folder and npm install in demo_web_app folder

Run the app

  1. Start flutter app by following the instruction on Flutter website

  2. Start the webapp in demo_web_app by typing npm start

  3. Start you Ganache local eth network app

  4. Enjoy

learn-blockchain-app's People

Contributors

sirily11 avatar

Stargazers

 avatar

Watchers

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