Skip to content

Setup typed contract

Randar Puust edited this page Jul 9, 2016 · 5 revisions

Installation

You have a few options for installing typed-contract.

Direct reference

If your project is fairly simple or you don't want to use a package manager

  1. Download either typedcontract.js (typedcontract.js) or typedcontract.min.js (typedcontract.min.js) from Git to a local directory.
  2. If you are going to be accessing it from TypeScript, you should also download typed.contract.d.ts (typedcontract.d.ts) and typedcontract.js.map (typedcontract.js.map).

NPM

If you would prefer to use a package manager, you will need NPM to install typed-contract.

  1. Install it into your project: npm install typed-contract –save
Clone this wiki locally