dgf-prototype/README.md

25 lines
530 B
Markdown

## To run automatic staking
1. Clone this repository to a directory on your machine
git clone https://gitea.dgov.io/DGF/dgf-prototype
1. Change to the `ethereum` directory
cd ethereum
1. Install the project using `npm`
npm install
1. Copy the example configuration file
cp .env.example .env
1. Export your Sepolia private key from MetaMask and add it to your `.env` file
SEPOLIA_PRIVATE_KEY="YOURKEY"
1. Run the automatic staking script
npm run automatic-staking-sepolia