New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitski

Package Overview
Dependencies
Maintainers
3
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitski

Bitski JavaScript SDK

  • 0.1.11
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
327
increased by38.56%
Maintainers
3
Weekly downloads
 
Created
Source

Bitski.js

Current version: 0.0.1

Bitski JS SDK is a JavaScript library that connects your DApp with a user, a wallet, and a connection to the Ethereum blockchain (currently Kovan TestNet only).

Getting Started

You’ll first need a client id token from us. If you’re interested in getting one, please Contact Us.

Installation

You can easily get started by adding these two script tags to your app’s <head>:

<script src="https://rawgit.com/IdentityModel/oidc-client-js/dev/dist/oidc-client.js"></script>
<script src="https://rawgit.com/OutThereLabs/bitski-js-sdk/master/lib/bitski.js"></script>

Note: We will be moving to a dedicated CDN soon.

Then, where you would normally check for Web3, you can run the Bitski SDK instead of falling back to displaying Metamask installation instructions:

if (typeof web3 !== 'undefined') {
  web3 = new Web3(web3.currentProvider);
} else {
  web3 = bitski.InitializeWeb3('<YOUR-CLIENT-ID>');
}

You can also require your users to use a Bitski wallet & account by setting window.web3 without the check, which should override any existing Metamask or DApp browser providers.

web3 = bitski.InitializeWeb3('<YOUR-CLIENT-ID>');

More Info

FAQs

Package last updated on 19 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc