Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix checksummed addresses for shutter #48

Merged
merged 2 commits into from
Feb 13, 2024
Merged

Conversation

yabirgb
Copy link
Member

@yabirgb yabirgb commented Feb 12, 2024

Used this script to checksum all the addresses

from eth_utils import to_checksum_address
import csv

data = []

with open('/Users/yabirgb/Library/Application Support/rotki/develop_data/users/airdrops/shutter.csv') as f:
    reader = csv.DictReader(f) # read rows into a dictionary format
    for row in reader:
        data.append((to_checksum_address(row['owner']), row['amount']))

with open('shutter.csv', 'w') as f:
    writer = csv.writer(f, delimiter=',')
    writer.writerow(['owner', 'amount'])
    writer.writerows(data)

@yabirgb yabirgb merged commit ddc3f7d into rotki:develop Feb 13, 2024
2 checks passed
@yabirgb yabirgb deleted the fix-shutteer branch February 13, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant