Socket
Book a DemoInstallSign in
Socket

@brandonlehmann/web3

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brandonlehmann/web3

A web3 helper library for managing provider connections, contracts, and web3 providers

3.1.6
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Web3

Installation

yarn add @brandonlehmann/web3

Use

https://brandonlehmann.github.io/web3

Example

import { ERC20, Web3Controller } from '../src';

(async () => {
    const controller = await Web3Controller.load('Test App', {
        chainId: 250
    });
    
    const token = new ERC20(
        await controller.loadContract(
            '0x6a31Aca4d2f7398F04d9B6ffae2D898d9A8e7938'));

    console.log(await token.tokenMetadata());
})();

FAQs

Package last updated on 08 Jun 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.