Git Product home page Git Product logo

oasis.js's Introduction

CircleCI Gitter chat docs

See the documentation.

Packages

The Client

For most use cases, it's recommended to use the main @oasislabs/client package for all your Oasis client needs, for which there is extensive documentation.

Package Version Description
@oasislabs/client npm Client SDK for interacting with services on Oasis

Internal Packages

However, if you only need a subset of the client's features, you can take what you need directly from the underlying packages. Together these packages compose the client. Standalone documentation is not provided so it's recommended to use these only if you know what you're doing.

Package Version Description
@oasislabs/gateway npm Oasis Gateway implementation used as the client backend
@oasislabs/service npm Connects to and deploys IDL defined services
@oasislabs/confidential npm Primitives for confidentiality
@oasislabs/common npm Common utilities for Oasis packages
@oasislabs/test npm Tools used in Oasis tests
@oasislabs/web3 npm Web3 JSON RPC version of an Oasis Gateway

Contributing

Installing

To get started first install the required build tools:

npm install -g lerna
npm install -g yarn

Then bootstrap the workspace:

yarn

Building

To build the workspace:

yarn build

In each package, the built javascript and typescript definitions will be in dist/. For direct browser testing of a client, simply include the rollup artifact directly in your script tag, e.g., <script src=/dist/index.umd.js></script>. For example here.

Testing

To run all tests:

yarn test

Linting

To lint:

yarn lint

To apply lint fixes:

yarn lint:fix

oasis.js's People

Contributors

armaniferrante avatar nhynes avatar eauge avatar pro-wh avatar ennsharma avatar peterjgilbert avatar ryscheng-bot[bot] avatar vishwa-raman avatar willscott avatar lukaw3d avatar ravenac95 avatar suquark avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.