Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobthebuidler/gas-me-up
https://github.com/bobthebuidler/gas-me-up
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bobthebuidler/gas-me-up
- Owner: BobTheBuidler
- Created: 2021-07-20T17:13:20.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-06T02:26:52.000Z (about 3 years ago)
- Last Synced: 2023-03-05T06:50:28.732Z (almost 2 years ago)
- Language: Python
- Size: 110 KB
- Stars: 5
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Gas Me Up is a tool to simplify gas reimbursements for DAOs.
You will need to set the following environment variables:
- $ETHERSCAN_TOKENTo use this tool as a contributor:
0. Clone gas-me-up repo
`git clone https://github.com/BobTheBuidler/gas-me-up`
1. Install requirements
`pip install -r requirements.txt`
2. Copy the my_details_TEMPLATE.py file and rename your copy to my_details.py
`cp my_details_TEMPLATE.py my_details.py`
3. Edit my_details.py and fill in the variables
- handle: TELEGRAM_HANDLE
- skip_confirm: if False, it will prompt you to confirm which transaction are related to Yearn work. If True it will treat all transactions in that wallet as Yearn related.
- my_addresses: an array with the address you use to do work for Yearn
- reimbursement_address: the address where you will receive your reimbursements
4. Copy the checkpoints sample file using your address as the filename
`cp checkpoints/sample.csv checkpoints/0xYOURADDRESS.csv`
5. Put the last block reimbursed into the file (The comma at the end is needed!)
`echo "123456," > 0xYOURADDRESS.csv`
6. Make sure you area logged in in Github on the console
7. Open a terminal and type 'brownie run gasmeup'
- If skip_confirm = False, progress through the prompts to confirm each tx was made for Yearn purposes and is reimbursable.
8. Enjoy!If you are using this tool to process reimbursements for contributors to your DAO, you will need the following additional environment variables:
- $GH_PERSONAL_AUTH_TOKENFollow the steps here to create your auth token: https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token
To use this tool to process reimbursements for your contributors:
1.