Options
All
  • Public
  • Public/Protected
  • All
Menu

@brandonlehmann/web3

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());
})();

Generated using TypeDoc