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

polymath-core-artifacts

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polymath-core-artifacts

This repository contains the JSON files necessary to interact with the smart contracts from Polymath Network.

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

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

Polymath Core Artifacts

This repository contains the JSON files necessary to interact with the smart contracts from Polymath Network. This is a pure JavaScript implementation with TypeScript support for node.js and the browser.

Contracts version - 2.0

Install

Requires nodejs

npm install polymath-core-artifacts

Simple example

const artifacts = require('polymath-core-artifacts')
// get TickerRegistry content
const TickerRegistry = artifacts.load('TickerRegistry').content
// get USDTieredSTO abi
const USDTieredSTO = artifacts.load('USDTieredSTO').abi()

Polymath Registry address

We offer a way to get the last contract address of PolymathRegistry. PolymathRegistry is a module that allow know the address of any deployed contract from Polymath environment.

const artifacts = require('polymath-core-artifacts')
const mainnetAddress = artifacts.registry().network(1)
const kovanAddress = artifacts.registry().network(42)

Test

$ npm test

Keywords

FAQs

Package last updated on 10 Dec 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