Skip to content

stakefish/gnosis-batch-deposit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gnosis chain batch deposit

This repository contains the smart contracts for stake.fish Gnosis chain batch deposit.

Development environment

  • Node v16.8.0

Install dependencies by running:

yarn install

Deployment

  • BatchDeposit

To deploy on the gnosis mainnet, first you need to setup environment variables GNOSIS_RPC_URL and GNOSIS_DEPLOYER_PRIVATE_KEY, and then simply run:

npx hardhat run scripts/deploy-batch-deposit.js --network gnosis

Smart contract workflow

workflow

Functional tests

Tests are written using ethers.js, chai assertion library and smart contract testing library waffle.

You can find tests under test folder and run all the tests using npx hardhat test command, it will start an instance of Hardhat Network that forks ethereum mainnet to run the tests.

You can configure the Hardhat Network settings in hardhat.config.js.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published