easycc

Crates.ioeasycc
lib.rseasycc
version0.1.1
created_at2026-01-11 10:02:27.879318+00
updated_at2026-01-11 10:07:38.918621+00
descriptionEasy Hyperledger Fabric network setup for chaincode testing
homepage
repositoryhttps://github.com/AmaVic/easycc
max_upload_size
id2035488
size1,290,969
Victor Amaral de Sousa, PhD (AmaVic)

documentation

https://github.com/AmaVic/easycc/wiki

README

EasyCC - Easy Chaincode CLI

Build Documentation

Simplify Hyperledger Fabric development with an intuitive CLI

EasyCC is a Rust-based command-line tool that automates the setup, management, and testing of Hyperledger Fabric networks and java chaincodes for local development. Get a blockchain environment running in seconds.

Key Features

  • Zero-config network setup - Running network in under 30 seconds
  • Complete chaincode lifecycle - Build, deploy, and test with single commands
  • CouchDB state database - Rich queries out of the box
  • Testing integration - Built-in support for ChaincoderTestr
  • Cross-platform - Works on macOS, Linux, and Windows

Quick Start

# Install EasyCC
cargo install easycc

# Create and start a network (you will be prompted for the configuration)
easycc init
easycc create
easycc start

# Deploy your chaincode
easycc deploy --chaincode-path ./chaincode

# Access CouchDB
open http://localhost:5984/_utils  # credentials: admin/adminpw

That's it! You now have a Fabric network with CouchDB running locally.

Documentation

Comprehensive documentation is available in the Wiki:

The code documentation is available here.

Prerequisites

  • Docker (Desktop or Engine) - Container runtime
  • Hyperledger Fabric binaries (2.5.0+) - Tools like peer, configtxgen

See Installation Guide for detailed setup instructions

Common Commands

# Initialize workspace
easycc init

# Create network artifacts
easycc create

# Start network
easycc start

# Deploy chaincode
easycc deploy --chaincode-path ./chaincode

# Run tests
easycc test --tester-path ./ChaincoderTestr \
            --test-suite-path ./tests.json \
            --org client

# Stop network
easycc stop

# Clean up
easycc clean --all

See Command Reference for all available commands and options.

Contributors and Funding

This project is developed and maintained by Victor Amaral de Sousa. It has been requested and funded by Wim Laurier and Satoshi Horiuchi, respectively from the Université Catholique de Louvain (Belgium) and the University of Chuo (Japan).

Commit count: 11

cargo fmt