Git Product home page Git Product logo

deadbeef's People

Contributors

kennedybaird avatar mattstam avatar nlordell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

deadbeef's Issues

PROXY_INIT_CODE_DIGEST generation

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:

deadbeef/src/safe.rs

Lines 11 to 12 in 24df00b

const PROXY_INIT_CODE_DIGEST: [u8; 32] =
hex!("56e3081a3d1bb38ed4eed1a39f7729c3cc77c7825794c15bbf326f3047fd779c");

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.

Add WASM Support

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 Workers to leverage multiple CPUs. It can read the number of CPUs from: navigator.hardwareConcurrency.

Add Support for Different Chains

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.

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

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 :) ).

Getting the saltNonce

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.