Socket
Book a DemoInstallSign in
Socket

apple-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apple-api

apple-Api

2.2.5
latest
Source
npmnpm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

apple-Api

Software License npm

Usage example

const { readFileSync } = require('fs');
const { Connection, constants, ApiClient } = require('apple-api');

(async () => {
  const conn = new Connection('localhost:26660', {
    cert: readFileSync('private_daemon.crt'),
    key: readFileSync('private_daemon.key'),
  });
  conn.onMessage((message) => {
    console.log(message);
  });
  conn.addService(constants.SERVICE().walletUi);
  const fullNode = new ApiClient.FullNode({ connection: conn, origin: 'my-cool-service' });
  await fullNode.init();
  const blockchainState = await fullNode.getBlockchainState();
})();

Donate

Forked From Felixbruckers Hard Work I CopyPasta Modded This All Hard Work Still Done By Felix His Address Are Below:

  • ETH: 0xfEc6F48633A7c557b4ac5c37B4519C55CD701BEF
  • BTC: 14rbdLr2YXDkguVaqRKnPftTPX52tnv2x2
  • PP: https://www.paypal.me/felixbrucker

Changelog

A Changelog can be found here

License

GNU GPLv3 (see LICENSE)

Keywords

apple

FAQs

Package last updated on 07 Aug 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.