New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

web3-chains

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

web3-chains

```bash npm install web3-chains ```

unpublished
latest
Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install web3-chains
yarn add web3-chains

Usage

import {bsc, bscTestnet} from 'web3-chains'

bsc result

{
    id: 56,
    name: 'BNB Smart Chain',
    network: 'bsc',
    nativeCurrency: {
        name: 'BNB',
        symbol: 'BNB',
        decimals: 18
    },
    rpcUrls: {
        default: {
            http: ['https://rpc.ankr.com/bsc']
        },
        public: {
            http: ['https://rpc.ankr.com/bsc']
        }
    },
    blockExplorers: {
        etherscan: {
            name: 'BscScan',
            url: 'https://bscscan.com'
        },
        default: {
            name: 'BscScan',
            url: 'https://bscscan.com'
        }
    },
    contracts: {
        multicall3: {
            address: '0xca11bde05977b3631167028862be2a173976ca11',
            blockCreated: 15921452
        }
    }
}

bscTestnet result

{
    id: 97,
    name: 'Binance Smart Chain Testnet',
    network: 'bsc-testnet',
    nativeCurrency: {
        name: 'BNB',
        symbol: 'tBNB',
        decimals: 18
    },
    rpcUrls: {
        default: {
            http: ['https://data-seed-prebsc-1-s1.binance.org:8545']
        },
        public: {
            http: ['https://data-seed-prebsc-1-s1.binance.org:8545']
        }
    },
    blockExplorers: {
        etherscan: {
            name: 'BscScan',
            url: 'https://testnet.bscscan.com'
        },
        default: {
            name: 'BscScan',
            url: 'https://testnet.bscscan.com'
        }
    },
    contracts: {
        multicall3: {
            address: '0xca11bde05977b3631167028862be2a173976ca11',
            blockCreated: 17422483
        }
    },
    testnet: true
}

Available chain info

  • arbitrum (Arbitrum One)
  • arbitrumGoerli (Arbitrum Goerli)
  • arbitrumNova (Arbitrum Nova)
  • aurora (Aurora)
  • auroraTestnet (Aurora Testnet)
  • avalanche (Avalanche)
  • avalancheFuji (Avalanche Fuji)
  • baseGoerli (base-goerli)
  • boba (Boba Network)
  • bronos (Bronos)
  • bronosTestnet (Bronos Testnet)
  • bsc (BNB Smart Chain)
  • bscTestnet (Binance Smart Chain Testnet)
  • canto (Canto)
  • celo (Celo)
  • celoAlfajores (Alfajores)
  • confluxESpace (Conflux eSpace)
  • cronos (Cronos)
  • crossbell (crossbell)
  • dfk (DFK Chain)
  • dogechain (Dogechain)
  • evmos (Evmos)
  • evmosTestnet (Evmos Testnet)
  • fantom (Fantom)
  • fantomTestnet (Fantom Testnet)
  • filecoin (Filecoin Mainnet)
  • filecoinHyperspace (Filecoin Hyperspace)
  • foundry (Foundry)
  • fuse (Fuse)
  • iotex (IoTeX)
  • iotexTestnet (IoTeX Testnet)
  • goerli (goerli)
  • gnosis (Gnosis)
  • gnosisChiado (Gnosis Chiado)
  • hardhat (Hardhat)
  • harmonyOne (Harmony One)
  • klaytn (Klaytn)
  • lineaTestnet (Linea Testnet)
  • localhost (Localhost)
  • mainnet (homestead)
  • metis (Metis)
  • metisGoerli (Metis Goerli)
  • moonbaseAlpha (Moonbase Alpha)
  • moonbeam (Moonbeam)
  • moonriver (Moonriver)
  • neonDevnet (neonDevnet)
  • nexi (Nexi)
  • oasys (Oasys)
  • okc (OKC)
  • optimism (Optimism)
  • optimismGoerli (Optimism Goerli)
  • polygon (Polygon)
  • polygonMumbai (Polygon Mumbai)
  • polygonZkEvmTestnet (Polygon zkEVM Testnet)
  • polygonZkEvm (Polygon zkEVM)
  • scrollTestnet (Scroll Testnet)
  • sepolia (sepolia)
  • skaleBlockBrawlers (SKALE | Block Brawlers)
  • skaleCalypso (SKALE | Calypso NFT Hub)
  • skaleCalypsoTestnet (SKALE | Calypso NFT Hub Testnet)
  • skaleChaosTestnet (SKALE | Chaos Testnet)
  • skaleCryptoBlades (SKALE | CryptoBlades)
  • skaleCryptoColosseum (SKALE | Crypto Colosseum)
  • skaleEuropa (SKALE | Europa Liquidity Hub)
  • skaleEuropaTestnet (SKALE | Europa Liquidity Hub Testnet)
  • skaleExorde (SKALE | Exorde)
  • skaleHumanProtocol (SKALE | Human Protocol)
  • skaleNebula (SKALE | Nebula Gaming Hub)
  • skaleNebulaTestnet (SKALE | Nebula Gaming Hub Testnet)
  • skaleRazor (SKALE | Razor Network)
  • skaleTitan (SKALE | Titan Community Hub)
  • skaleTitanTestnet (SKALE | Titan Community Hub Testnet)
  • shardeumSphinx (Shardeum Sphinx)
  • taraxa (Taraxa Mainnet)
  • taraxaTestnet (Taraxa Testnet)
  • telos (Telos)
  • telosTestnet (Telos)
  • wanchain (Wanchain)
  • wanchainTestnet (Wanchain Testnet)
  • xdc (XinFin Network)
  • xdcTestnet (Apothem Network)
  • zhejiang (zhejiang)
  • zkSync (zkSync Era)
  • zkSyncTestnet (zkSync Era Testnet)

FAQs

Package last updated on 22 Apr 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