Overview
Ape-based SDK for working with CreateX.
Usage
Command Line
The primary way to use the createx package is through the provided CLI.
You can use this command alongside any ape project to deploy your contracts to a deterministic location.
By default, this uses the CreateX library to deploy using msg.sender and/or chainid redeploy protection,
with a customizable salt:
$ createx deploy MyContract --deployer my-wallet --no-redeploy-protection --salt my-salt
INFO: Confirmed 0xc5af...6c2c (total fees paid = 1838467000000000)
Deployed 0x02168191c1BbBEc53c6b7c1b5Ed0ddf83D76A837
For more info, check out here.
We also provide a utility for "mining" an address using a specific number of leading zeros, or matching a pattern (similar to createXcrunch):
$ createx mine dep@v1:MyContract --deployer ... --leading-zeros 1
Found '0x0082fA6c17B8A25F99d60513b8683434666a7C44' after 835 iterations using salt: 184d662996b122cf1846c7
You can then re-use this salt to get the same value on multiple chains:
$ createx address dep@v1:MyContract --deployer ... --salt 184d662996b122cf1846c7
0x0082fA6c17B8A25F99d60513b8683434666a7C44
$ createx deploy dep@v1:MyContract --deployer ... --salt 184d662996b122cf1846c7
INFO: Confirmed 0x54f6...bd26 (total fees paid = 1838419000000000)
Deployed 0x0082fA6c17B8A25F99d60513b8683434666a7C44
As a Library
You can also use this in your projects to configure deterministic deployments more easily on CreateX's 170+ supported chains:
from createx import CreateX
my_contract = createx.deploy(project.MyContract, salt="something", sender=me)
Metadata
Release files for createx 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| createx-0.1.2.tar.gz | 200.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| createx-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 233.2 kB
Release files / createx-0.1.2.tar.gz
| Download URL | createx-0.1.2.tar.gz |
|---|---|
| Size | 200.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0cd54cfcc3b3ea60358e596c1c5768853cc7c7d21be269524869a5406180dbe
|
|
BLAKE2b-256 checksum How to use checksums |
9513044421312291f9d3c4146173e9c5d09876f2c353f30e0d7d3a67cdc17726
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 28, 2025.
Transparency logRelease files / createx-0.1.2-py3-none-any.whl
| Download URL | createx-0.1.2-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fb24730434cddcf1f9de8a72a883ed9d2a3b382d98d4c19d13282ba76804394
|
|
BLAKE2b-256 checksum How to use checksums |
03fe5639297669c4a3670bbe9321611eeab7b810c2024714b2e30c95c893ea8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 28, 2025.
Transparency log