Giter VIP home page Giter VIP logo

Comments (4)

pcaversaccio avatar pcaversaccio commented on August 18, 2024 1

@pcaversaccio Yes I saw it but since only works in Hardhat ( and since they are moving to a new deployment system called ignition ) would be great if you could create a type export with the function that could work with ethers.js

Different people have different tastes and thus we let the community build external tooling and list it here. If you build a tooling that integrates CreateX, I will happily list it there as well. Furthermore, you can find and download the ABI in the various formats here. If you want to generate the typechain-types for CreateX, you can simply clone the CreateX repository and compile it with Hardhat: npx hardhat compile. I attached them to this comment as well: typechain-types.zip.

from createx.

pcaversaccio avatar pcaversaccio commented on August 18, 2024 1

Let me mention that CreateX is the built-in factory for Hardhat Ignition (see here).

from createx.

pcaversaccio avatar pcaversaccio commented on August 18, 2024

@tornadocontrib I built exactly such an "SDK" via my Hardhat plugin xdeployer. No need to import anything, just npm install it and hit npx hardhat xdeploy :). Via the 3.0.0 release, CreateX got added.

A couple of caveats however:

  • xdeployer only supports CREATE2 deployments. So if you want to make use of CREATE, CREATE3, or minimal proxy contracts (a.k.a. Clones), you need to fork xdeployer and adjust according to your needs.
  • If you use a vanity address via createXcrunch, please be aware that I hash again the salt value (which is submitted a string value in the Hardhat config) here before deploying. So you would need to adjust this as well before deploying.

The underlying reason behind these design decisions was to make it agnostic to any kind of CREATE2 factory that might need different handling of salt values and/or have different functions.

I'm closing this issue as I deem it as resolved. Please comment or reopen if you disagree.

from createx.

tornadocontrib avatar tornadocontrib commented on August 18, 2024

@pcaversaccio Yes I saw it but since only works in Hardhat ( and since they are moving to a new deployment system called ignition ) would be great if you could create a type export with the function that could work with ethers.js

from createx.

Related Issues (20)

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.