Giter Site home page Giter Site logo

drifting's Introduction

Drifting

基于区块链的心情漂流APP

通过Python实现了一个简单的区块链,利用Flask开发了一个简单的web应用,为APP提供接口。APP通过POSTGET的方式获取和上传数据。

开发工具

Android Studio 3.0

Pycharm

Python 3.5

Blockchain相关接口

​ 在APP中存入心情【message】的方式就是进行挖矿,把数据存入区块中。

​ 在APP中通过GET的方式,获取整条链,从中提取出自己的message。

​ 进行交易,在APP中通过中方式交换心情。

​ 注册节点

​ 共识算法,解决冲突

Android界面展示


Issues_20180605

1.APP功能当前只是使用了本地链的功能,只是调用了接口1,2

2.APP第二页的漂流功能暂时没有实现

3.APP第三页的节点显示由于暂时没有利用节点注册与共识算法,只是固定显示两个节点

4.最后一页查看记忆,显示的是链上的所有信息,暂时没有做区分处理

drifting's People

Contributors

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