Watch 24 Star 71 Fork 25

NervosNetwork / CITARustGPL-3.0

Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
CITA(Cryptape Inter-enterprise Trust Automation)是一个面向企业级应用的支持智能合约的区块链框架, 旨在为企业级区块链应用提供一个稳固、高效、灵活、可适应未来的运行平台。 CITA 将区块链节点的必要功能解耦为六个微服务:RPC,Auth,Consensus,Chain,Executor,Network。各组件之间通过消息总线交换信息相互协作。 通过配置和定制相应的服务,CITA 能够满足企业级用户的全部需要。 spread retract

  • Rust 79.2%
  • JavaScript 6.5%
  • Solidity 5.5%
  • Python 4.4%
  • Shell 4.4%
Clone or download
Notice: Creating folder will generate an empty file .keep, because not support in Git

Build Status

English | 简体中文

What is CITA

CITA is a fast and scalable blockchain for enterprises. CITA supports both native contract and EVM contract, by which enterprise users can build their own blockchain applications. CITA has a unique architecture which enables enterprise users to release all their computing resources.

  • Horizontal scalability: With the microservice architecture, a logical node can be easily scaled to a cluster of servers. Node administrators can increase system capacity simply by adding more PC servers on high load. The administrator can even use dedicated servers to provide services for hot-spot accounts. Outside one node's boundary, nodes communicate with each other using P2P network; inside each node, microservices communicate with each other by messaging queue (Note this is completely different from Fabric which uses a messaging queue only as consensus process).

  • Customizable and Pluggable Components: CITA's microservices are loosely coupled and their communications are only via the message queue. Hence, it‘s flexible to improve current components with better algorithms (such as new consensus algorithms) or more appropriate technical solutions (such as new DBs or new privacy solutions). Moreover, business logic is extremely complicated in enterprise applications. With CITA, you can easily customize your blockchain with the certain feature to fit your own business requirements.

  • High Performance: In CITA, consensus and transaction execution are decoupled as separate microservices. The consensus service is only responsible for transaction ordering, which can finish independently before transaction execution, thus increase transaction processing performance. In additional, CITA also includes lots of other optimizations to fully utilize multi-cores and multi-servers' computing power. To this end, it utilizes the Rust language, a hybrid imperative/OO/functional language with an emphasis on efficiency.

  • Resiliency and Reliability: CITA provides tools to backup blockchain data by taking snapshot, which can help you to resync the blockchain data in a short time. And through Rust’s language-level memory and thread guarantees and a disciplined approach to exception-handling, we can state with a high degree of certainty that our code cannot crash, hang or bomb-out unexpectedly.

  • Compatibility: CITA supports the use of Solidity, Go, and Rust to develop smart contracts. It also supports all Ethereum development tools (Truffle, Zeppelin, Remix, etc.).

  • Chain Interoperability: We perceive that independent blockchains are constantly emerging nowadays and even more in the future. How do these chains interoperate with each other to form blockchain network? CITA Support cross-chain communication by providing a simple cross-chain protocol currently. More explorations are undertaking in CITA, aiming to amplify the value of applications running on the various chains.

  • Engineering Experience: There're many CITA networks running in banks, payment and insurance production environment, with Cryptape or CITA Integration Provider's technical support. CITA has accumulated a lot of engineering experience.

White Paper

For more details please check the white paper.



CITA supports JSON-RPC and WebSocket (experimental) API/v1.

For CITA API/v1, You can use any HTTP client, or following SDKs:


CITA is still in active development. Building a blockchain platform is a huge task, we need your help. Any contribution is welcome.

Please check for more details.

Follow us




CITA is currently under the GPLv3 license. See the LICENSE file for details.

CITA will move to Apache 2.0 license soon.


CITA is created by Cryptape team with :heart:.

Contact us

Telegram Group

Comments ( 2 )

Sign in for post a comment


Help Search

205735 778617b6 1899542 205747 347fc4a1 1899542