add readme
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled Details

This commit is contained in:
Ladd Hoffman 2024-03-16 13:53:21 -05:00
parent eaa81c17ec
commit f3d798eb6b
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
## 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