Coder Social home page Coder Social logo

neonode's Introduction

NEO 增强节点

通过josn rpc的方式对外提供与链交互的一些rpc 接口

服务运行步骤

  • 安装python3.6, Mysql数据库

  • 安装requirements.txt 所依赖的python库

    pip install requirements_whl/*.whl

  • 在根目录下创建log文件夹

  • 设置环境变量 CURRENT_ENVIRON , PRIVTKEY , REMOTE_ADDRESS,WEB_API

  • 运行2个脚本:

    • store_raw_block_data.py 将块里面所有的交易存到本地Mysql

    • store_account_info.py 从mysql读出所有的交易信息,计算出所有的地址的余额,零钱信息,存储交易记录

    • runserver.py 启动 rpc 服务

neonode's People

Contributors

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