The Pegasys V3 SDK
Welcome to the V3 Pegasys SDK!
The Pegasys V3 SDK provides abstractions to assist you with interacting with the Pegasys V3 smart contracts in a Typescript/Javascript environment (e.g. websites, node scripts). It makes uses of the Core SDK to gain access to abstractions that are common amongst the Pegasys SDKs. With the SDK, you can manipulate data that has been queried from the EVM using libraries that assist with needs such as data modeling, protection from rounding errors, and compile time enforced typing.
To begin, we recommend looking at our Guides which include runnable examples and walkthroughs of core usages. These guides will help you better understand how to use the SDK and integrate it into your application.
For complete documentation of the SDK's offerings, see the Technical Reference.
Installation
To interact with the V3 SDK we recommend installing though npm:
npm i --save @pegasys-fi/v3-sdk
npm i --save @pegasys-fi/sdk-core