-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add parameter to generate vanity addresses #493
base: main
Are you sure you want to change the base?
Conversation
73096cd
to
16eded0
Compare
src/safe_cli/safe_creator.py
Outdated
Example: | ||
safe-creator https://sepolia.drpc.org 0000000000000000000000000000000000000000000000000000000000000000 | ||
""" | ||
|
||
|
||
def setup_argument_parser(): | ||
parser = argparse.ArgumentParser(usage=get_usage_msg()) | ||
parser = argparse.ArgumentParser(description=get_epilog_msg()) | ||
# parser = argparse.ArgumentParser(usage=get_usage_msg()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't remove this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot 😂
src/safe_cli/safe_creator.py
Outdated
sys.exit(1) | ||
|
||
if yes_or_no( | ||
f"Safe will be deployed on {expected_safe_address}, looks good?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f"Safe will be deployed on {expected_safe_address}, looks good?" | |
f"Safe will be deployed on {expected_safe_address}. Would you like to proceed?" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been here forever, but looks good 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
--no-confirm
to bypassyes or no
questions--generate-vanity-addresses
for vanity addresses--dry-run
&--quiet
Arguments for Testing Vanity Safe Addresses #457