mirror-besu

A CLI tool to build, test and deploy private besu contracts

Usage no npm install needed!

<script type="module">
  import mirrorBesu from 'https://cdn.skypack.dev/mirror-besu';
</script>

README

mirror

Mirror CD Mirror CI version docs Contributors Follow

Mirror is a compiling, testing and deployment for Hyperledger Besu, aiming to make life as an Enterprise Ethereum developer easier.

Detailed documentation can be found here.

Quick Start


# Install
$ npm install -g mirror-besu

# Initialize
mirror init

# Compile 
mirror compile

# Deploy a private contract (Set the privacy members in migration directory)
mirror deploy --private

# Deploy a private contract on a specific network specified in mirror-config.js
mirror deploy --private --network node1

# Deploy a private contract on besu network that has onchain privacy group configured
mirror test --private --onchain-privacy

# Test using MochaJS
mirror test