dgf-prototype/README.md

25 lines
526 B
Markdown
Raw Normal View History

2024-03-16 13:53:21 -05:00
## 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_API_KEY="YOURKEY"
1. Run the automatic staking script
npm run automatic-staking-sepolia