2.1.5 • Published 1 year ago
tuft_ts v2.1.5
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 tuftConfiguration
Set the following environment variables in your system or in a .env file:
BLOCKCHAIN_URL=http://localhost:5000
DEPLOYER_ADDRESS=0xYourAddressUsage
Compile a Contract
npx tuft compile example_contractDeploy a Contract
npx tuft deploy example_contractExecute a Contract
npx tuft execute --contract_id <contract_id> --function_name <function_name> --args <arg1> <arg2>Running Tests
npm test