Socket
Socket
Sign inDemoInstall

etherscan-link

Package Overview
Dependencies
0
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    etherscan-link

A library for generating etherscan links.


Version published
Weekly downloads
19
decreased by-17.39%
Maintainers
5
Install size
3.30 kB
Created
Weekly downloads
 

Changelog

Source

[1.1.0] - 2020-04-05

Changed

  • Use HTTPS for links (#2)
  • Ignore extraneous files when publishing (#12)

Readme

Source

Installation

npm install etherscan-link -S

Usage

const etherscanLink = require('etherscan-link')

const networkId = '1'
const account = '0xFDEa65C8e26263F6d9A1B5de9555D2931A33b825'
const accountLink = etherscanLink.createAccountLink(account, networkId)

const hash = '0xa7540793de6b6ca7d3c948a8cc0a163bf107f5535a69353162ea9dec7ee7beca'
const txLink = etherscanLink.createExplorerLink(hash, networkId)

Keywords

FAQs

Last updated on 06 Apr 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc