Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 494 Bytes

start-using-thetta.md

File metadata and controls

25 lines (15 loc) · 494 Bytes

1 - Installing Thetta

Installing Thetta DAO Framework

Start by going to your project's directory and type:

$ npm install --save @thetta/core

This will install Thetta core to the node_modules directory.
You can then use Thetta core from your Solidity contracts by importing it like this:

pragma solidity ^0.4.24;

import "@thetta/core/contracts/DaoClient.sol";

contract YourCompany is DaoClient {
  // your business logic goes here
}