Comments (4)
@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.
Let me mention that CreateX
is the built-in factory for Hardhat Ignition (see here).
from createx.
@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 supportsCREATE2
deployments. So if you want to make use ofCREATE
,CREATE3
, or minimal proxy contracts (a.k.a.Clones
), you need to forkxdeployer
and adjust according to your needs.- If you use a vanity address via
createXcrunch
, please be aware that I hash again thesalt
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.
@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)
- 💥 Build `CreateXCrunch` HOT 1
- 💥 Create Dune Dashboard to Track Usage Metrics HOT 3
- ➕ Add zkSync Mainnet HOT 3
- ➕ Add OP-Endurance Test Network HOT 3
- ➕ Add Blast Test Network Deployment HOT 1
- ➕ Add DOS Chain Test and Main Network Deployments HOT 3
- ➕ Add Fraxtal Testnet Deployment HOT 4
- 💥 Compute Vanity Addresses HOT 11
- 🐛 No Way to Avoid Salt Being Re-Hashed HOT 5
- ➕ Add Polygon Amoy Testnet Deployment HOT 6
- ➕ Add Mode Sepolia Testnet Deployment HOT 1
- ➕ Add Mode Main Network Deployment HOT 3
- ➕ Add Build on Bitcoin (BOB) Test Network Deployment
- ➕ Add Build on Bitcoin (BOB) Main Network Deployment HOT 1
- ➕ Add Fraxtal Main Network Deployment HOT 1
- 💥 Deploy via Nick's Method HOT 6
- ➕ Add Chiliz Spicy Test Network Deployment
- ➕ Add Taraxa Test and Main Network Deployments HOT 18
- ➕ Add Chiliz Main Network Deployment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from createx.