All Projects → jamiew → ohmfork-autoclaim

jamiew / ohmfork-autoclaim

Licence: other
automatically claim and restake vested bonds (mints) from SnowbankDAO, KlimaDAO, Wonderland, and other OlympusDAO forks

Programming Languages

solidity
1140 projects
typescript
32286 projects

Projects that are alternatives of or similar to ohmfork-autoclaim

awesome-defi
Curated list of awesome DeFi protocols, dapps, wallets and other resources
Stars: ✭ 36 (-10%)
Mutual labels:  avalanche, avax
awesome-list-rpc-nodes-providers
A curated list of awesome Node providers and public PRC endpoints for Ethereum, BSC, xDAI, Fantom, Avalanche and more :)
Stars: ✭ 39 (-2.5%)
Mutual labels:  avalanche, evm
prb-math
Solidity library for advanced fixed-point math
Stars: ✭ 404 (+910%)
Mutual labels:  evm
intx
intx – extended precision integer library
Stars: ✭ 83 (+107.5%)
Mutual labels:  evm
hardhat-contract-sizer
Output Ethereum contract sizes with Hardhat 📐
Stars: ✭ 55 (+37.5%)
Mutual labels:  hardhat
hardhat-starter-kit
A repo for boilerplate code for testing, deploying, and shipping chainlink solidity code.
Stars: ✭ 730 (+1725%)
Mutual labels:  hardhat
dapp-starter
Opinionated Dapp Starter Template
Stars: ✭ 207 (+417.5%)
Mutual labels:  hardhat
secureum-mind map
This repo is less actively maintained now but I still monitor it for PR's.
Stars: ✭ 422 (+955%)
Mutual labels:  evm
emerald-web3-gateway
The Web3 Gateway for the Oasis Emerald ParaTime.
Stars: ✭ 19 (-52.5%)
Mutual labels:  evm
alice-NFT
Ethereum for Javascript devs
Stars: ✭ 38 (-5%)
Mutual labels:  hardhat
ZYX-20
A Zyx Network client based on the go-ethereum fork
Stars: ✭ 0 (-100%)
Mutual labels:  evm
democracy
Tools for peer-to-peer privacy with Ethereum and AZTEC
Stars: ✭ 36 (-10%)
Mutual labels:  evm
pyevmasm
Ethereum Virtual Machine (EVM) disassembler and assembler
Stars: ✭ 206 (+415%)
Mutual labels:  evm
simple-nft-marketplace
This project provides sample codes to build a simple NFT marketplace with Amazon Managed Blockchain.
Stars: ✭ 59 (+47.5%)
Mutual labels:  hardhat
vandal
Static program analysis framework for Ethereum smart contract bytecode.
Stars: ✭ 121 (+202.5%)
Mutual labels:  evm
nft-app
How to create your own NFT and mint NFT token
Stars: ✭ 145 (+262.5%)
Mutual labels:  hardhat
revm
Revolutionary Machine (revm) is a fast Ethereum virtual machine written in rust.
Stars: ✭ 383 (+857.5%)
Mutual labels:  evm
Metrix
Decentralized, Anonymous, Fast & Secure Cryptocurrency
Stars: ✭ 41 (+2.5%)
Mutual labels:  evm
typescript-eth-starter
🔌 Ethereum Dapp Basic Typescript Starter
Stars: ✭ 125 (+212.5%)
Mutual labels:  hardhat
LIPs
LUKSO Improvement Proposals. Repository for the LUKSO Blockchain Improvement Proposals (LIPs) and LUKSO Standards Process (LSP).
Stars: ✭ 39 (-2.5%)
Mutual labels:  evm

greets

 ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈
 ❅                                   __         __             ❅
 ❊ .-----.-----.-----.--.--.--.----.|  |.---.-.|__|.--------.  ❊
 ❇ |__ --|     |  _  |  |  |  |  __||  ||  _  ||  ||        |  ❇
 ❈ |_____|__|__|_____|________|____||__||___._||__||__|__|__|  ❈
 ❅                                                             ❅
 ❆ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆ ❈ ❇ ❊ ❅ ❉ ❆

                      "ice to meet you"

Simple scripts to claim and restake vested bonds from OlympusDAO (OHM/sOHM) and its many forks

Originally written for SnowbankDAO, but now supports many other OlympusDAO forks, including Wonderland, KlimaDAO and probably more.

PRs and bug reports welcome

Setup

yarn install

Setup the .env file:

cp .env.sample .env

Edit .env and put in your own values for:

  • WALLET_ADDRESS – the wallet that actually owns the SB tokens and is earning the rewards
  • PRIVATE_KEY - for a wallet that will execute the bond() call on the Snowbank contract. Make sure this wallet has some AVAX

Usage

To see a list of all the commands, run yarn run. Replace snowbankdao with klimadao or your supported fork of choice

Get some info about your bond (bondInfo()):

yarn snowbankdao:stats
yarn klimadao:stats

Claim your rewards (redeem()):

yarn snowbankdao:redeem
yarn klimadao:stats

To run that every 8 hours, you could use cron, systemd or just a lazy bash loop:

while [ true ]; do
  yarn snowbankdao:redeem
  sleep $((60*60*8))
done

Or just run it manually, I don't care

License

MIT

Pull requests & bug reports welcome

Please direct donations to the Center For Artistic Activism and Electronic Frontier Foundation

Thanks

Shoutout to the OUE CREW for hot tips

Shoutout to avalanche-smart-contract-quickstart, on which this repo is based

Shoutout to my kids, love y'all

Shoutout to you, for reading this

Speed project approved: 1 hour

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].