Skip to content

Ethereum-Artifacts/WETH9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@ethereum-artifacts/weth9

Install

# In your node project directory
npm i @ethereum-artifacts/weth9

Usage

// Import artifacts
const weth9 = require('@ethereum-artifacts/weth9');

// Get ABI for WETH9
console.log(weth9.WETH9.abi);

// Get bytecode for WETH9
console.log(weth9.WETH9.bytecode);

// Create ethers.js contract factory for WETH9
const ethers = require('ethers');
const WETH9 = new ethers.ContractFactory(
  weth9.WETH9.abi,
  weth9.WETH9.bytecode,
);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published