Skip to content

Run script multiple (N) times (possibly parallel) and write to output file #1

@fairlighteth

Description

@fairlighteth

I've been trying to generate multiple vanity Safe addresses. In particular finding a case sensitive match word (0xca1f vs 0xCA1F). For this it's good to run the script multiple times, until you find the right vanity Safe address. Doing this manually is tedious.

Perhaps it could be mentioned in the README.MD file you could run the script multiple times and write the output to a (text) file. E.g. using this bash one liner.

for i in {1..200}; do ./deadbeef --owner 0x0000000000000000000000000000000000000000 --owner 0x0000000000000000000000000000000000000000 --threshold 1 --prefix 0xCa1f00 >> deadbeef-output.txt; done

This will run deadbeef 200 times and write the output to the same directory in file deadbeef-output.txt. You then can manually case-sensitive search the output file for the desired Safe address.

On my machine it happened to run the tasks in parallel (utilizing all CPUs, also a moment to appreciate https://github.com/aristocratos/btop :) ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions