Skip to content

liquifi-org/liquifi-core

Repository files navigation

LiquiFi Ethereum Smart Contracts

Clean working folder

ATTENTION! Please note this task should be executed before each coverage task

npm run clean

Install dependencies

npm install

Compile Smart Contracts and Build ABI

npm run compile

Contract ABIs will be located in artifacts folder

Build TypeChain Smart Contract Definitions

npm run typechain

Run Tests

npm run test

Run Tests with Coverage

NB! Use Node v12

npm run coverage

Run gas measuring tests

npm run gas-report

Clean working folder

npm run clean

Deploy Contracts

Create file wallet.ts with the following content:

export const privateKey = 'YOUR-PRIVATE-KEY'

Run deploy script:

npm run deploy
npm run deploy_{networkID}

Networks

ID Name
1 Mainnet
3 Ropsten
4 Rinkeby
56 BSC Mainnet
97 BSC Testnet

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors