Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/citahub/cita

A high performance blockchain kernel for enterprise users.
https://github.com/citahub/cita

blockchain consensus consortium enterprise-users rust

Last synced: about 1 month ago
JSON representation

A high performance blockchain kernel for enterprise users.

Lists

README

        

#

[![Circle CI Status](https://circleci.com/gh/citahub/cita.svg?branch=develop)](https://circleci.com/gh/citahub/cita)

[![All Contributors](https://img.shields.io/badge/all_contributors-54-orange.svg?style=flat-square)](#contributors)

[English](./README.md) | 简体中文

## CITA 是什么?

CITA( Rivtower Inter-enterprise Trust Automation )是一个面向企业级应用的支持智能合约的高性能区块链内核,
旨在为企业级区块链应用提供一个稳固、高效、灵活、可适应未来的运行平台。CITA 将区块链节点的必要功能解耦为六个微服务:RPC,Auth,Consensus,Chain,Executor,Network。各组件之间通过消息总线交换信息相互协作。通过配置和定制相应的服务,CITA 能够满足企业级用户的全部需要。

- **水平扩展性**

在 CITA 的微服务架构中,“节点”是一个逻辑概念,有可能是一台服务器(一台服务器上面运行一组微服务),
也有可能是一组服务器组成的集群,同时 CITA 还支持部署在云服务器上,充分利用了各种服务器硬件来提升处理能力。
节点与节点之间通过 P2P 通信,节点内部各模块通过消息总线通信。

![](https://github.com/citahub/citahub-docs/blob/master/docs/assets/cita-assets/architecture.jpg?raw=true)

- **组件可插拔**

松耦合的微服务架构,便于各组件将来平滑迁移至更好的算法(比如新的共识算法)或者更好的技术方案(比如新的 DB 或者新的隐私方案);
也有利于针对一些具体的业务场景,定制一些特定的功能。

- **高性能**

微服务架构将 Chain 与 Executor 独立出来,Executor 仅负责计算和执行交易,Chain 负责存储交易,
使得计算和存储分离,极大程度的提高了交易处理能力;
编程语言采用 Rust,Rust 强调并秉持零开销抽象的理念在提供诸多高级语言特性的同时,没有引入额外的开销,性能可以媲美 C++。
最新版本的交易性能已经可以达到 15,000+ TPS(数据来自 CITA 0.16 版本,在四台 32 核,64G 的云服务器上部署 4 个节点,每台服务器配置百兆带宽)。

- **稳定可靠**

CITA 提供快照工具来对区块链的数据进行备份,可在较短时间内恢复链数据。
同时,Rust 借鉴了编程语言领域最新的研究成果,针对 C++ 中最头疼的内存问题(内存泄漏,野指针)进行编译器静态检查。
只要代码编译通过,就可以保证没有以上问题,大大提高了应用运行阶段的可靠性。

- **兼容性**

CITA上支持使用 Solidity,Go 语言,Rust 开发智能合约,同时也支持以太坊的所有开发工具(Truffle,Zeppeling,Remix 等)。

- **跨链**

在区块链世界里,各种各样的链在不断的涌现出来。这些链如何互相配合形成区块链网络?
CITA 目前提供了一个简单的跨链协议来支持主链与侧链之间的通信。我们也正对跨链通信做更多的探索,旨在扩大在各种链上运行的应用程序的价值。

- **工程经验**

CITA 现在已经在银行,证券,票据等实际生产环境中运行,这其中我们积累了大量工程经验。

## 白皮书

- [英文版](https://github.com/citahub/cita-whitepaper/blob/master/en/technical-whitepaper.md)
- [中文版](https://github.com/citahub/cita-whitepaper/blob/master/zh/technical-whitepaper.md)

## 文档

- [英文版](https://docs.citahub.com/en-US/cita/cita-intro)
- [中文版](https://docs.citahub.com/zh-CN/cita/cita-intro)

## API/SDK

CITA 支持 JSON-RPC 和 WebSocket (experimental) API/v1。

对于 CITA 的 API/v1,你可以使用任意的 HTTP 代理,或者下面的 SDK:

* [Java](https://github.com/citahub/cita-sdk-java)
* [JavaScript](https://github.com/citahub/cita-sdk-js)
* [Swift](https://github.com/citahub/cita-sdk-swift)
* [Ruby](https://github.com/citahub/cita-sdk-ruby)
* [Rust](https://github.com/citahub/cita-common/tree/develop/cita-web3)

## 社区贡献

CITA 目前仍在紧张的开发中,欢迎大家为 CITA 贡献自己的一份力量。更详细的信息可以参考[贡献指南](.github/CONTRIBUTING.md)。

## 关注我们

[Weibo](http://weibo.com/u/6307204864)

## 开源协议 [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcitahub%2Fcita.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcitahub%2Fcita?ref=badge_shield)

Apache 2.0 license

## 权益归属

溪塔科技团队 :heart:

## 联系我们

邮箱:

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):


kaikai
kaikai

💻
zhangyaning
zhangyaning

💻
Boyu Yang
Boyu Yang

💻
zhiwei
zhiwei

💻
漂流
漂流

💻
AsceticBear
AsceticBear

💻
yubo
yubo

💻
zhouyun-zoe
zhouyun-zoe

📖
Bicheng Gao
Bicheng Gao

💻


lhf
lhf

💻
LinFeng Qian
LinFeng Qian

💻
keroro
keroro

💻
Yaorong
Yaorong

💻
suyanlong
suyanlong

💻
Chen Yu
Chen Yu

💻
zhangsoledad
zhangsoledad

💻
hezhengjun
hezhengjun

💻
zeroqn
zeroqn

💻


urugang
urugang

💻
Jiang Jinyang
Jiang Jinyang

💻
Jan Xie
Jan Xie

💻
Sun Lei
Sun Lei

💻
hyl
hyl

💻
Terry Tai
Terry Tai

💻
Ke Wang
Ke Wang

💻
Mohanson
Mohanson

💻
quanzhan lu
quanzhan lu

💻


duanyytop
duanyytop

💻
clearloop
clearloop

💻
nokodemion
nokodemion

💻
Rain Chen
Rain Chen

💻
Daogang Tang
Daogang Tang

💻
xianliang jiang
xianliang jiang

🐛
Nov
Nov

💻
Rai Yang
Rai Yang

💻
Wenchao Hu
Wenchao Hu

💻


kaiyu
kaiyu

💻
James Chen
James Chen

💻
rev-chaos
rev-chaos

💻
Eason Gao
Eason Gao

💻
Eric Zhang
Eric Zhang

💻
Jun Jiang
Jun Jiang

💻
PRIEWIENV
PRIEWIENV

💻
The Gitter Badger
The Gitter Badger

💻
CL
CL

💻


programmer-liu
programmer-liu

💻
Jiayu Ye
Jiayu Ye

💻
liyanzi
liyanzi

🐛
JiaYi
JiaYi

📖
Timmy Zhang
Timmy Zhang

🤔
Wu Yuyue
Wu Yuyue

📖
xiangmeiLu
xiangmeiLu

📖
mingxiaowu
mingxiaowu

🐛
wangfh666
wangfh666

🐛

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!