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

@zetachain/addresses

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zetachain/addresses

This package includes the addresses and networks to use Zetachain.

  • 0.0.13
  • latest
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

ZetaChain addresses

This package includes the addresses and networks to use Zetachain.

Usage

import { getAddress } from "@zetachain/addresses";

const address = getAddress({ address: "zetaToken", networkName: "goerli", zetaNetwork:"athens" });

API

MethodDescription
isTestnetNetworkName = (networkName: string): networkName is TestnetNetworkNameReturns true if it's a valid Testnet name
isZetaTestnet = (networkName: string): networkName is ZetaTestnetNetworkNameReturns true if it's a valid ZetaTestnet name
isMainnetNetworkName = (networkName: string): networkName is MainnetNetworkNameReturns true if it's a valid Mainnet name
isNetworkName = (networkName: string): networkName is NetworkNameReturns true if it's a valid network name
isZetaNetworkName = (networkName: string): networkName is ZetaNetworkNameReturns true if it's a valid Zeta network name
type ZetaAddressValid values for ZetaAddress
getAddress = ({ address: ZetaAddress; networkName: string; zetaNetwork: string; }): stringReturns the address of a valid ZetaAddress

FAQs

Package last updated on 02 Oct 2023

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