Sign in now

Managed Apps are Out-of-the-Box (OOB) functionalities that can be used by you without the need to create Smart Contracts. These are the fixed journeys that have the potential to satisfy a particular pain-point.

A few Managed Apps that we have developed and deployed successfully in our past have been detailed below.

XLDB

Xooa Ledger Database (XLDB) is comprised of two databases: A mutable document datastore called the State Database, or World State, and an immutable database called the Transaction Database, or simply the Ledger. The Ledger is an append-only, and is cryptographically protected against modifications using blockchain technology.

When a key-value pair is created or updated, the World State is modified using a transaction. The transaction is appended to the ledger. All changes to key-value pairs (including deletions) are recorded in the ledger and can be queried via the History endpoint.


Key Considerations

The key uniquely identifies the key-value pair within the World State database. The most appropriate method for constructing keys varies by use case: For example, if you are only interested in the append-only nature of the XLDB, and not in state db, or rich query, it doesn’t matter what you use as a key, and you may find it convenient to use the same key for all transactions. You can use the History endpoint to fetch all transactions and their payload.

If you wish to search based on the content of each transaction (the payload), you will then need a unique key (such as uuid) for each transaction, because such a search can run only against the state database (see Query endpoint for more details)

XLDB State Database may be used to store different object types (such as cars and people), typically using different JSON document schemas. If this is your use case, it makes sense to combine the object type and the unique object identifier into a single key. Another best practice with multiple object types is also to denote the object type within the JSON representation of the value. It will facilitate query filtering by object types.


Value Considerations

It is recommended that values are formatted as JSON objects to effectively utilize the rich query capabilities of the query endpoint.

XLDB enriches values with metadata fields such as the identity of the token holder that created or modified the key, and the last-modified date. These metadata fields may be used to filter a query using the Query endpoint.

More details on the XLDB APIs can be read and tried here.

More details about World State, transactions and other app related features can be read here.

  Do you like video tutorials instead? Check out the video tutorial for XLDB here.

Asset Management

The Asset Management is a Xooa managed smart contract app. It provides the APIs to maintain the assets and their ownership. An asset is comprised of mutable and immutable components which are asset details and asset properties respectively. The immutably of blockchain makes it impossible to modify the history of transfers or updates and guarantees it’s append-only nature.

This app provides the APIs to maintain the assets and their ownership. With these API endpoints, you may create, destroy, update, and transfer assets between identities. More details on the Asset Management APIs can be read and tried here.

World State of asset management provides access to the information about latest owners and asset details. More details about World State, transactions and other app related features can be read here.

  Do you like video tutorials instead? Check out the video tutorial for asset management app here.

ERC20 and ERC721

The ERC20 and ERC721 are Xooa managed smart contract apps deployed on Hyperledger Fabric. It provides the APIs to create the tokens and transfer them between identities.

This app provides the APIs to manage ERC20 and ERC721 compliant tokens on your own private blockchain ledger and transfer tokens within your identities. You may transfer, approve, and get details about the token. More details on the ERC20 and ERC721 APIs can be read and tried here.

World State of ERC20 and ERC721 provides access to the information about current balances of identities and the token details. More details about World State, transactions and other app related features can be read here.

  Do you like video tutorials instead? Check out the video tutorial for ERC20 app here.

Bonds

Bonds is a Xooa managed smart contract app deployed on Hyperledger Fabric. It provides the APIs to:

  • Create and manage bond offers. Each offer consistes of:
    • Currency - Currency in which cost of each bond is defined
    • Amount - Value of each bond
    • Quantity - Number of bonds available on offer
    • Maturity period - Number of months the bonds are offered for
    • Coupon rate - Rate of interest (in percent) payable on bond value
    • Coupon period - Interval at which the interest is payable by the issuer to the investor
  • Purchase the bond from an offer
  • Fetch various details about transactions and bonds
  • Manage wallets provided for each unique user

This app provides the APIs to issue and offer or purchase fixed rate bonds on a secure and private distributed ledger. With these API endpoints, you may manage wallets, or create and get offers and bond details. More details on the Bonds APIs can be read and tried here.

World State of bonds provides access to the information about wallet transactions, bonds offerings, and purchases. More details about World State, transactions and other app related features can be read here.

  Do you like video tutorials instead? Check out the video tutorial for bonds app here.

Voting

Voting is a Xooa managed smart contract app deployed on Hyperledger Fabric. It provides the APIs to vote for a candidate or an option for the vote created in Xooa.

A voting app can be an election or a referendum. Each election is comprised of election name, candidates’ name, start date, and end date of voting. Each referendum is comprised of a statement, options to vote for, start date, and end date of voting.

A voter will be allowed just once to vote between the start date and the end date. The start date and end date should be entered in the local timezone of the user deploying the app.

Your identities are the electorate, each having own API key.

Voting Embed

It provides the user with a script which one can be embeded on their own website. The user can provide various parameters to <embed> tag to customize the interaction. The user can customize:

  • apiToken

    API token of a user can be added to avoid user from entering the token and directly proceeding to vote.

With the API endpoints this app provides, you may ‘vote for an option’, get app details or tally of the votes. More details on the Voting APIs can be read and tried here.

World State of voting provides access to the information about current tally of the votes and users who have voted without knowing the option/ candidate user has voted for. More details about World State, transactions and other app related features can be read here.

  Do you like video tutorials instead? Check out the video tutorial for voting app here.

RMS

Record Management System or RMS is a Xooa managed smart contract app deployed on Hyperledger Fabric. It allows you to manage records on multiple cloud storage platforms such as Dropbox, Google Drive(coming soon) or OneDrive(coming soon). You can keep track of records and make it verifiable in your own private blockchain ledger.

An application type can be defined for each record management app to maintain collection of all the records of similar type.

RMS Integration

Connect your account with the cloud storage provider of your choice such as Dropbox, Google Drive(coming soon) or OneDrive(coming soon).

Automatic tracking

Include or exclude the relative path of folders in the cloud storage account that you would like to track on the private blockchain ledger in addition to the Xooa folder. You can add multiple paths or regular expressions separated by a comma.

 

Records-tracking

By default a folder named Xooa will be created on the cloud storage and tracked. All records uploaded through Xooa Platform will be uploaded to this folder. You must upload at least one file from Xooa to enable the automatic tracking.

RMS Records

Upload

Upload the records that you would like to track on the private blockchain ledger. These records will be stored in the Xooa folder of your cloud storage account.

Subject Id

Add a unique Id of the subject to which the record belongs. Each subject has a separate subdirectory that stores its corresponding records. You can fetch all records associated with a subject using APIs or through the Records tab. It is a mandatory field.

Metadata

You can add JSON formatted metadata associated with the record. You can use this feature to save additional information about the record. It is an optional field. The metadata will also be stored in your cloud storage account under the metadata directory.

 

Ledger-update

Expect 1-2 minute wait time for getting record details on the Xooa ledger after uploading the record.

Verify

Upload the record to verify its existence in RMS. Get the details like content hash, path of the record, id, name, created and modified date, etc.

This app provides the APIs to maintain the records. With these API endpoints, you may upload or verify the records. More details on the RMS APIs can be read and tried here.

World State of RMS provides access to the details about current records being tracked on RMS. More details about World State, transactions and other app related features can be read here.

Last updated: November 27, 2019