Git Product home page Git Product logo

deterministic-deployment-proxy's People

Contributors

micahzoltu avatar veox avatar xinbenlv 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  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

deterministic-deployment-proxy's Issues

Type error on build

I tried following the setup instructions, but go the following error on npm run build:

scripts/compile.ts:92:77 - error TS2345: Argument of type 'ArrayBuffer' is not assignable to parameter of type 'BNInput'.
  Type 'ArrayBuffer' is missing the following properties from type 'Buffer': write, toJSON, equals, compare, and 75 more.

92  const signerAddress = arrayFromHexString(keccak256(secp256k1.recoverPubKey(hashedSignedEncodedTransaction, { r: r, s: s}, 0).encode('array').slice(1)).slice(-40))
                                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    at createTSError (/Users/dmihal/keystone/burner/deterministic-deployment-proxy/node_modules/ts-node/src/index.ts:240:12)
    at reportTSError (/Users/dmihal/keystone/burner/deterministic-deployment-proxy/node_modules/ts-node/src/index.ts:244:19)
    at getOutput (/Users/dmihal/keystone/burner/deterministic-deployment-proxy/node_modules/ts-node/src/index.ts:360:34)
    at Object.compile (/Users/dmihal/keystone/burner/deterministic-deployment-proxy/node_modules/ts-node/src/index.ts:393:11)
    at Module.m._compile (/Users/dmihal/keystone/burner/deterministic-deployment-proxy/node_modules/ts-node/src/index.ts:439:43)
    at Module._extensions..js (module.js:664:10)
    at Object.require.extensions.(anonymous function) [as .ts] (/Users/dmihal/keystone/burner/deterministic-deployment-proxy/node_modules/ts-node/src/index.ts:442:12)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)

Can't be used on Arbitrum and Optimism

My understanding is that the deployer address has been "retrodicted" with Nick's method, and the chosen gas price and the gas limit influence what value the deployer address has.

If that is correct, this deployment proxy cannot be used on optimistic rollup chains like Arbitrum or Optimism, because of the way gas is calculated there. E.g. a basic aETH transfer costs ~700k.

How can we use CREATE2 deployer via hardhat?

I see that the CREATE2 deployer has already been deployed onto most popular blockchains at 0x7A0D94F55792C434d74a40883C6ed8545E406D12.

Instead of skipping lines 20 and 23 in test.sh as described in README.md, how can we use hardhat to deploy a new contract using an existing CREATE2 deployer?

Issue on deploying Caduces Testnet

I have changed the $JSON_RPC to https://galaxy.block.caduceus.foundation but whenever I run command ./script/test.sh to deploy it gives error of
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"authentication needed: password or unlock"}}

CREATE3 version

Can we have a version for CREATE3?

With CREATE3, the resulting address of a deployed contract is no longer dependent on contract bytecode.

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.