Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

taurus-js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taurus-js

Talk to eos API

  • 22.2.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

taurus-js

Build Status License: MIT

Streamlined version of eosjs that contains just elliptic curve cryptography, serialize, and numeric methods.

Installation

NPM

The private NPM package can be found at npm.

Add dependency to your project

yarn add @blockone/taurus-js

Using with Typescript

In order to get access to the TextEncoding and TextDecoding types, you need to add @types/text-encoding as a dev dependency: yarn add --dev @types/text-encoding

If you're using Node (not a browser) then you'll also need to make sure the dom lib is referenced in your tsconfig.json:

{
	"compilerOptions": {
		"lib": [..., "dom"]
	}
}

Browser Distribution

Clone this repository locally then run yarn build-web. The browser distribution will be located in dist-web and can be directly copied into your project repository. The dist-web folder contains minified bundles ready for production, along with source mapped versions of the library for debugging.

Import

ES Modules

Importing using ESM syntax is supported using TypeScript, webpack, or Node.js with --experimental-modules flag

import { PrivateKey, PublicKey, Signature } from '@blockone/taurus-js'

CommonJS

Importing using commonJS syntax is supported by Node.js out of the box.

const { PrivateKey, PublicKey, Signature } = require('@blockone/taurus-js')
const { TextEncoder, TextDecoder } = require('util') // node only; native TextEncoder/Decoder

Full Documentation of Codebase

The documentation specific to the code in this repository can be found here

If you also need information from code that was removed from this repository, the full eosjs documentation can be found here

Lastly, there are a few examples and installation/usage guides available in the third-party perspective documentation for eosjs here

License

MIT

Important

See LICENSE for copyright and license terms.

All repositories and other materials are provided subject to the terms of this IMPORTANT notice and you must familiarize yourself with its terms. The notice contains important information, limitations and restrictions relating to our software, publications, trademarks, third-party resources, and forward-looking statements. By accessing any of our repositories and other materials, you accept and agree to the terms of the notice.

FAQs

Package last updated on 11 Mar 2022

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