The Agoric platform includes a SES (Secure ECMAScript) shim, (a library providing SES features) for writing secure smart contracts in JavaScript. SES is a JavaScript runtime library for safely running third-party code.

Our SES documentation consists of two primary documents:

  • SES Guide: Intended for initial reading when starting to use or learn about Agoric. It provides relatively detailed background information on how and why SES works so that you'll get a greater understanding of what's going on.
  • SES Reference: Intended for those knowledgeable about or experienced with SES. Use this if you just want to see or remind yourself of what SES can do and how to use it without much explanation.

The SES Guide points to a third document, Lockdown. It describes the SES function lockdown() and its optional settings.