The Enzyme SDK is a collection of TypeScript classes that represent the contracts composing the Enzyme Protocol. By correctly importing and instantiating these classes, a developer can call all of the on-chain methods necessary to to interact with Enzyme, whether from the perspective of a Vault Manager or an Investor.
As a developer, it is important to understand the protocol's contract architecture before attempting to build an app using the SDK. Detailed documentation can be found here, but at a high level, each Vault is two smart contracts deployed to Ethereum. Those contracts interact with Enzyme Finance infrastructure contracts (e.g. the
FundDeployer) and extensions (e.g. the
PolicyManager) which exist independent of but can be referenced by any vault or end user.
This site does not currently provide extensive documentation of the SDK, but it does give an overview of the basic patterns required to interact with the contract methods in the examples below.