Skip to content

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

Notifications You must be signed in to change notification settings

SukuLab/defi-evm-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •