@suku/defi-evm-scripts
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

DeFi EVM Scripts

A collection of scripts to run various tasks on Ethereum based defi smart contracts written in Typescript.

Setup

npm install

Typescript + Solidity = <3

Type-safe contract declarations possible thanks to TypeChain. These types are not committed to this repo, but will be generated after installing npm modules.

They may be manually generated using:
npm run typchain

Example

Config:
Make a copy of .env.example and fill in the variables.

To run:
npm run example

See src/example.ts

Notes

Declarations were not compiling due to a breaking TypeChain update. Needed to run:
npm i @ethersproject/bignumber@latest

Readme

Keywords

Package Sidebar

Install

npm i @suku/defi-evm-scripts

Weekly Downloads

2

Version

0.2.4

License

MIT

Unpacked Size

1.12 MB

Total Files

124

Last publish

Collaborators

  • lucashenning
  • bdoganer
  • ijazm
  • garrett-lee