waranyu26 / auto-farmer-test

A DeFi side project used for automation service to invest in autofarm.network protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoFarmer

AutoFarmer is a DeFi side project used for automation service to invest in autofarm.network protocol.

Information

The main smart contract's name is AutoFarmerV1 located under /contracts folder

Installation

Use the node package manager (npm) to install module.

npm install

Get these API keys to be able to run the test script

  1. moralis for full archive nodes on BSC
  2. bscscan for verifying smart contract on BSC

Create local.config.ts and add your API key as followed

// visit https://bscscan.com/
export const BSCScanAPIKey = "{BSC_SCAN_API_KEY}";

// visit https://moralis.io/speedy-nodes/
export const SpeedyNodesKey = "{SPEEDY_NODES_KEY}";

Usage

To compile smart contracts run the following command

npm run compile

To test smart contract run the following command

npm run test

License

MIT

About

A DeFi side project used for automation service to invest in autofarm.network protocol.


Languages

Language:Solidity 95.4%Language:TypeScript 4.6%