2.1.5 • Published 9 months ago

tuft_ts v2.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Tuft

A Truffle-like tool for managing TypeScript smart contracts on Omne.

Installation

Prerequisites

Make sure you have the following installed:

  • Node.js
  • npm (Node Package Manager)

Installing Tuft

npm install tuft

Configuration

Set the following environment variables in your system or in a .env file:

BLOCKCHAIN_URL=http://localhost:5000
DEPLOYER_ADDRESS=0xYourAddress

Usage

Compile a Contract

npx tuft compile example_contract

Deploy a Contract

npx tuft deploy example_contract

Execute a Contract

npx tuft execute --contract_id <contract_id> --function_name <function_name> --args <arg1> <arg2>

Running Tests

npm test
2.1.2

9 months ago

2.1.1

9 months ago

1.0.1

9 months ago

2.1.4

9 months ago

2.1.3

9 months ago

2.1.5

9 months ago

2.1.0

9 months ago

2.0.0

9 months ago

1.0.2

10 months ago

1.0.0

10 months ago