truffle-box / tezos-example-box

Simple example box for Tezos development with Truffle
MIT License
16 stars 8 forks source link
blockchain javascript ligo ligolang smart-contracts smartcontracts tezos truffle

Tezos Example Box

Note: Experimental. Currently designed for demo purposes only.

This box contains a Counter and SimpleStorage contract to display the basics of Tezos LIGO integration with Truffle.

Prerequisites

Installation

  1. Install Truffle globally. Make sure you install truffle@tezos.

    npm install -g truffle@tezos
  2. Download the box. This also takes care of installing the necessary dependencies.

    truffle unbox tezos-example

Usage

Sandbox Management

An archive mode ganache-cli sandbox Tezos node is provided in this box with RPC exposed at port 8732 and ten accounts generously funded with 100 XTZ. For currently supported configurable options, see the ganache-cli documentation.

Commands

npm run start-sandbox

Interacting with Live Networks