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

eosjs

Package Overview
Dependencies
Maintainers
1
Versions
292
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eosjs

General purpose library for the EOS blockchain.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
51K
decreased by-28.73%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status Coverage Status NPM

Status: Alpha (this is for eosjs library developers)

Eos Js

General purpose library for the EOS blockchain.

Usage

Eos = require('eosjs') // Or Eos = require('.')
callback = (err, res) => {err ? console.error(err) : console.log(res)}

// API, note: testnet uses eosd at localhost (until there is a testnet)
Testnet = require('eosjs-api/testnet')

testnet = Testnet()
testnet.getBlock(1, callback) // More at https://github.com/eosjs/api

eos = Eos({network: testnet})

// Transaction
expireInSeconds = 60
eos.transaction({
  messages: [
    {
      from: '',
      to: '',
      cc: [],
      type: '',
      data: ''
    }
  ],
  sign: ['5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss'],
  permissions: [],
}, callback)

// Exported libraries (see Related Libraries)
let {ecc} = eos.modules
let {json} = eos.modules
let {fcbuffer} = eos.modules

This library breaks down into more specific purpose libraries:

  • api - application programming interface to EOS blockchain nodes
  • json - blockchain definitions (api method names, blockchain operations, etc)
  • fcbuffer - binary serialization used by the blockchain

Environment

Node 6+ and browser (browserify, webpack, etc)

Keywords

FAQs

Package last updated on 06 Jul 2017

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