Skip to content

Demo Guide

Home · Top · Table of Contents

Table of Contents

Kevin K. Le (LinkedIn) — Founder, Founding Engineer, and Current Lead Engineer; Software Engineer at the Oregon Blockchain Group, University of Oregon.

Kellen Snider — Founding Engineer; Software Engineer at the Oregon Blockchain Group, University of Oregon. His vision, ideas, and dedication during TrustLedger's Ethereum development were invaluable to the codebase we build on today.

See CREDITS.md.

This document explains the local demo scripts included with TrustLedger. Read it when preparing a contract lifecycle or arbitration demonstration.

Prerequisites

Home · Top · Table of Contents

Start a local Hardhat chain:

npm run node

Deploy contracts to the local chain:

npm run hardhat:deploy:local

Demo Scripts

Home · Top · Table of Contents

Run demo scripts from the repository root after the local deployment.

Scenario Command
Successful lifecycle npm run demo:good
Failed work scenario npm run demo:bad
Juror scenario npm run demo:jurors
Scenario runner npm run demo:scenario
Stablecoin scenario npm run demo:stablecoin
Shell wrapper npm run demo:run

The demo scripts use the local Hardhat network and deployed-address artifacts. They are not a replacement for the Foundry and Hardhat test suites documented in Testing.

Authors and Contributors

Home · Top · Table of Contents

  • Kevin K. Le — Founder, Founding Engineer, and Current Lead Engineer (LinkedIn)
  • Kellen Snider — Founding Engineer (LinkedIn)

See CREDITS.md for the complete acknowledgement list.

Home · Top · Table of Contents

This document is part of TrustLedger, an open-source decentralized escrow and arbitration protocol. Use of this software and documentation is subject to the Terms and Conditions, Privacy Policy, and Risk Disclosure. See LEGAL.md for the full compliance and licensing overview.