Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 751 Bytes

File metadata and controls

23 lines (19 loc) · 751 Bytes

The covenant configuration object

The covenant configuration object appears within an Interbit configuration file. It describes the location in the filesystem where the covenant’s NPM package code can be found. The covenant can be packed into a binary file and deployed to specific blockchains (based on configuration) so that nodes can apply the covenant.

{% include "covenant.js" %}

Properties

location String Required

The filesystem path to the covenant’s NPM package directory.

The covenant must be NPM packable from an external location due to the distribution of covenants across the network. This means no external, local, file references.