Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
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
Package was removed
Sorry, it seems this package was removed from the registry

@brandonlehmann/web3

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

latest
Source
npmnpm
Version
3.1.6
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