Skip to content

rocklabs-io/omnic-js

Repository files navigation

@rocklabs-io/omnic-js

Omnic is a crosschain messaging protocol, powered by the Internet Computer's threshold ECDSA and outbound http call features, we can build programmability into the message passing process.

And This SDK package Omnic-js provides support for your app using the bridge app.

📚 Documentation

Looking to get Omnic-js setup in your project? The Omnic docs are your best bet!

📋Table of contents

Classes

Namespaces

📥 Installation

Omnic-js can be installed locally from our Github repository. To do so you're going to need a personal access token with the following configurations:

  • repo
  • read:packages

Next, authenticate yourself via npm login command using your Github email for the username and the personal access token as your password:

npm login --registry=https://npm.pkg.github.com --scope=@rocklabs-io

And if you want to deploy with this package on web development framework like Vercel. Remember to set token as NPM_RC following Vercel Guides's instruction.

The last thing we’ve got to do before installing is set your npm configuration so that when you run npm install @rocklabs-io/, npm will pull from Github instead of its own registry.

To do this, we have two options:

  1. Run the following command
npm config set @rocklabs-io:registry https://npm.pkg.github.com
  1. Add a .npmrc file to your project's root directory and add the following line to the file:
@rocklabs-io:registry=https://npm.pkg.github.com

You're all set! Install icns-js into your project with the following command:

yarn add @rocklabs-io/icns-js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published