Getting Started

We're excited to provide you the resources to integrate and build on the OpenLaw protocol. To learn more about our shared libraries, please read the OpenLaw core overview.

To use OpenLaw core and our APIClient library in your JavaScript project, you can use our npm package.

$ npm install openlaw --save
// ES2015 import both exports from module
import { APIClient, Openlaw } from "openlaw";

You can find further instructions on how to use our JavaScript libraries in our APIClient and Openlaw Object references.

If you want to use OpenLaw core in your Scala project, here is how to add it to your sbt project:

// First add our repository
resolvers += "Openlaw core" at "https://dl.bintray.com/openlawos/openlaw-core"

//add the dependency
libraryDependencies += "org.openlaw" %% "openlaw-core" % "<last version>"

Check out our Markup Language docs to start creating your own dynamic legal agreements using OpenLaw as well as our Review Tool docs to learn how to contribute to our growing library of "smart" legal agreements.