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

o3-dapi-neoclient

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

o3-dapi-neoclient

Client plugin for o3-dapi-neo

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-91.67%
Maintainers
1
Weekly downloads
 
Created
Source

o3-dapi-neoclient

Client plugin for o3-dapi-neo, which will move the logic for all read methods to the client side.

Requires o3-dapi-core & o3-dapi-neo to operate.

Usage

In a browser - cdn

<script src="https://cdn.jsdelivr.net/npm/o3-dapi-neoclient/lib/o3-dapi-neoclient.min.js"></script>
window.o3dapiNeoClient

Install via npm npm version

npm i --save o3-dapi-neoclient

or

yarn add o3-dapi-neoclient
var o3dapiNeoClient = require('o3-dapi-neoclient');

import o3dapiNeoClient from 'o3-dapi-neoclient';

Example

import o3dapi from 'o3-dapi-core';
import o3dapiNeo from 'o3-dapi-neo';
import o3dapiNeoClient from 'o3-dapi-neoclient';

o3dapi.initPlugins([o3dapiNeo]);

o3dapi.NEO.setClientPlugin(o3dapiNeoClient)

// o3 app does not need to be open, and site can be accessed from any browser to operate on same methods
o3dapi.NEO.getBalance({
  params: [{address: 'AScKxyXmNtEnTLTvbVhNQyTJmgytxhwSnM'}],
  network: 'MainNet',
})
.then(balances => console.log(balances));

Keywords

FAQs

Package last updated on 20 Jun 2019

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