nlordell / deadbeef Goto Github PK
View Code? Open in Web Editor NEWTool for computing vanity Safe addresses
License: GNU General Public License v3.0
Tool for computing vanity Safe addresses
License: GNU General Public License v3.0
Hey @nlordell, this project is awesome and I just had a quick question.
I am trying to update to Safe v1.4.0 - I did all the necessary updates for the PROXY_FACTORY
, SINGLETON
, and FALLBACK_HANDLER
based on these Safe deployment addresses.
But I don't see how you calculated thePROXY_INIT_CODE_DIGEST
here:
Lines 11 to 12 in 24df00b
I've tried calling:
cast call 0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2 "proxyCreationCode()"
where 0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2
is the v1.3.0 address, and running Keccak256 on that result, and it does not seem to match.
Would love to get some guidance on how I can get the new PROXY_INIT_CODE_DIGEST
for v1.4.0. I'll make a PR here to update once that's done.
This issue captures the work to build deadbeef
in WASM and provide a JS wrapper for running it in the browser.
Ideally, it could spawn multiple web Worker
s to leverage multiple CPUs. It can read the number of CPUs from: navigator.hardwareConcurrency
.
In particular, not all chains share the same proxy factory contract, and hence PROXY_INIT_CODE
value. As such, in order to support more varied configurations, constants such as PROXY_INIT_CODE
should be configurable on the command line.
For example, the value of PROXY_INIT_CODE
needed for Arbitrum is caf2dc2f91b804b2fcf1ed3a965a1ff4404b840b80c124277b00a43b4634b2ce
.
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 :) ).
Hi - trying to use this generator, but I don't understand where the saltNonce is coming from?
Shouldn't there be one more output after callData?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.