Skip to content

Releases: OpenST/openst.js

OpenST.js 0.10.0

03 Apr 12:37
20bd3e3
Compare
Choose a tag to compare

[had external security assessment]

OpenST v0.10 focuses on enabling the OST Wallet SDK for applications to enable tokens for the end-users in their app.

OpenST.js specifically is used to relay transactions from the SDK to the chains and in general interact with the constellation of contracts in the Token Economy. OpenST.js depends on Mosaic.js for managing Ethereum side chains.

OpenST.js provides abstractions for setting up and interacting with the OpenST contracts. Key new features are:

  • executable transactions (EIP-1077) to act on Token Rules within the economy, and improved logout() functionality for the session keys.
  • the user now has a Gnosis Safe multisig contract to manage multiple devices and authorize session keys in the TokenHolder contract (github.com/gnosis/safe-contracts)
  • the user can recover access to the multisig contract if she has lost all device keys with the DelayedRecovery module. The recoveryOwner key she can reconstruct on her new device with her 6-digit PIN mnemonic (and two separate secrets stored by OST and the application).
  • all the user transactions are gasless meta-transactions relayed from the SDK on the phone to the correct contracts on the side chains (automatically handled by OST Platform if used)
  • further improvements to include the new work on mosaic, for layer-2 scaling on Ethereum

OST Platform uses (openst.js 0.10.0-beta.2) as of March 26. 2019

OpenST.js v0.9.4

04 Oct 16:24
7adbee1
Compare
Choose a tag to compare

OpenST.js is a library that helps developers integrate the functionality of the OpenST contracts in their (D)Apps.

OpenST.js simplifies deployment of the TokenHolder Contracts, TokenRules Contract, and token Rule Contracts, registration of Rule Contracts with the TokenRules contract and execution of the provided simple TransferRule to perform transfers between economy participants.

A TokenRules Contract keeps a list of all the registered rule contracts with their properties and helps in interacting with them. Rule contracts contain business logic that the economy creator uses to achieve their community or business goals. The organization deploys a TokenRules contract and registers custom Rules.

A TokenHolder Contract represents a participant in the Token Economy. The organization deploys one TokenHolder Contract per participant. The TokenHolder contract is a multi-sig contract with multiple ownership keys or wallets that can be controlled by a single human.

To get started with using OpenST.js, please use the README.

In order to make the best use of openst.js, we recommend working through the openst.js example in this repository to familiarize yourself with the functionality and usage of the library. This example walks you through registering rules, adding users, adding wallets to users, revoking ephemeral keys and other functionality in the context of a token economy.