Giter Site home page Giter Site logo

jd-opensource / jdchain Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10.02 MB

JD Chain is JD.COM's open source blockchain project, with the goal of creating enterprise blockchain system that makes data exchange easier and more efficient.

Home Page: http://ledger.jd.com

License: Apache License 2.0

Shell 90.20% Java 9.80%

jdchain's Introduction

logo

License Maven Central Build Status

一个面向企业应用场景的通用区块链框架系统,能够作为企业级基础设施,为业务创新提供高效、灵活和安全的解决方案。

源码构建

JD Chain源码通过gitgit submodule进行管理,如下操作可快速构建:

$ git clone https://github.com/blockchain-jd-com/jdchain.git jdchain

$ cd jdchain

# 此处仅以 master 分支为例,正常情况下 master 分支可无障碍构建成功
# 不推荐使用 develop 分支,submodule 代码可能未对齐
# 推荐切换到具体已发布的版本分支
$ git checkout master

$ chmod +x build/*.sh

# 执行完整的构建,包括执行”集成测试“和”打包“两部分;提供两个参数:
# --skipTests :跳过集成测试部分; 
# --update :从远程仓库更新子模块。注意,采用此参数会导致子模块本地仓库丢失尚未 commit 的代码。
#           不附带此参数的情况下不会更新子模块仓库。
$ build/build.sh --update

# 跳过子模块代码更新和集成测试,直接编译和打包;
$ build/build.sh --skipTests

# 首次代码拉取,跳过集成测试和编译打包可执行:
$ build/build.sh --update --skipTests

构建完成后会在deploy模块,deploy-gatewaydeploy-peer目录target中生成网关安装部署包(jdchain-gateway-*.zip)和共识节点安装部署包(jdchain-peer-*.zip)。

部署使用

快速部署

使用源码构建生成的部署安装包,或者下载官方部署安装包 参照快速部署文档可快速部署运行JD Chain网络。

数据上链

  1. 命令行工具

JD Chain 命令行工具集,即jdchain-cli,可快速执行数据上链和链上数据查询。

  1. SDK

JD Chain提供了JavaGo版本的SDK。实际项目开发中Java可参照示例代码Go语言SDK参照framework-go

更多

JD Chain功能开发,使用问题等欢迎issue中探讨,也欢迎广大开发者积极参与JD Chain社区活动及代码开发~

jdchain's People

Contributors

cg-zhou avatar huanghaiquan avatar imuge avatar jdchain avatar wangzhiyong69 avatar zhaoguangwei 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.