# CITA Plugin **Repository Path**: luyu-community/cita-plugin ## Basic Information - **Project Name**: CITA Plugin - **Description**: CITA 陆羽跨链协议插件 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2021-06-09 - **Last Updated**: 2024-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![](https://gitee.com/luyu-community/luyu-cross-chain-protocol/raw/master/doc/img/logo_nor.svg) ![](https://docs.citahub.com/img/citahub_logo.svg) # CITA-Plugin CITA-Plugin 是 [CITA](https://github.com/citahub/cita)用于适配[陆羽跨链协议](https://gitee.com/luyu-community/luyu-cross-chain-protocol)的插件。 ## 编译插件 **环境要求**: - [JDK8及以上](https://www.oracle.com/java/technologies/javase-downloads.html) - Gradle 5.0及以上 **编译命令**: ```shell ./gradlew assemble ``` 如果编译成功,将在当前目录的dist/apps目录下生成插件jar包。 ## 插件使用 该插件要配合[陆羽协议路由](https://gitee.com/luyu-community/router)一起使用。 #### 启动Demo链 ```shell cd dist bash ./build_cita_demo_chain.sh ``` 该脚本会自动下载`CITA`链以及相应的工具。 在本地启动一条链,并部署Demo合约。 #### 路由配置 路由需要配置文件提供一些链的信息。 `dist/conf` 下有默认的配置文件。 #### 停止Demo链 ```shell cd dist bash ./stop_cita_demo_chain.sh ```