A collection of smart contracts for operating a DAO https://demo.dgov.io
Go to file
Ladd Hoffman 1ae1a336f5
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details
Add comments
2024-03-27 14:11:53 -05:00
.gitea/workflows Frontend stub 2024-02-21 18:01:41 -06:00
backend Add hash and signature verification on API read from leveldb 2024-03-23 15:26:27 -05:00
client add binding percent and redistribute losing stakes parameters to validation pool 2024-03-26 18:28:38 -05:00
ethereum Add comments 2024-03-27 14:11:53 -05:00
README.md fixup readme 2024-03-16 13:54:06 -05:00

README.md

To run automatic staking

  1. Clone this repository to a directory on your machine

     git clone https://gitea.dgov.io/DGF/dgf-prototype
    
  2. Change to the ethereum directory

     cd ethereum
    
  3. Install the project using npm

     npm install
    
  4. Copy the example configuration file

     cp .env.example .env
    
  5. Export your Sepolia private key from MetaMask and add it to your .env file

     SEPOLIA_PRIVATE_KEY="YOURKEY"
    
  6. Run the automatic staking script

     npm run automatic-staking-sepolia